posted 17 years ago
I'm hoping someone can help me with this - I'm absolutely stumped.
I'm trying to open a connection with a hand-coded client to a web service. The code in question is working fine in my insecure (internet) environment over https/ssl. When I move into the secure (network not connected to the internet) environment, though, it's giving me the handshake exception on the attempt to connect.
I've verified that the appropriate X.509 certificates to connect to the server are in my keystore in the secure environment - it's just frustrating because the code works fine in one environment and not the other, when they're configured (otherwise) similarly. Is there any other reason that it would throw the exception?
The code I use to 'override' the default certs is below. Any help would be welcome.
Theodore Casser
Code Poet