I\'m trying to connect to a secure webservice.
I was getting a handshake failure even though my keystore and truststore have been set correctly.
After severa
As an add here, you can use %> openssl s_client -connect host.example.com:443 and see the dump and check that all the main cert is valid against the client. You are looking for this at the bottom of the output. Verify return code: 0 (ok)
If you add -showcerts it will dump all the info of the keychain that was sent along with the host certificate, which is what you loaded into your keychain.