cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

SSL Handshake failure using httpsUrlConnection

tstacy
1-Newbie

SSL Handshake failure using httpsUrlConnection

I have a java class that is constructing a httpsUrlConnection, where I define system properties for the keystore, truststore and their associated password. I also have a system property for the javax.net.debug that is set to “all”.

When I run the class from the Windchill shell, I am able to successfully launch the URL, and make the SSL Handshake and see the javax.net.debug output. When I run the class within the MethodServer, it appears that I am not able to read the keystore, and I do not get any debugging statements to appear and the SSL handshake fails because I cannot present my certificate.

What is interesting is that I did have the Method Server spilling the debug at one time, but based on editing the class and/or changing the keystores, I am no longer able to get any output from the debug.

I have verified that my system properties are set within the Method Server, and my keystore paths and passwords are correct.

Does anyone have any input related to why the class behaves within the Windchill shell, and not within the Method Server context?

Environment is Windchill 9.1 and Linux.

0 REPLIES 0
Top Tags