I want JBoss to make HTTPS calls to an external Web Service using Axis-generated classes.
I have accomplished the following:
- generated Axis classes from the Web Service WSDL
- received and imported the given self-signed certificate into my keystore
- set the system properties 'javax.net.ssl.trustStore', 'javax.net.ssl.trustStorePassword' accordingly
- implemented an 'AuthenticationHandler', extended from a BasicHandler, to add a Base64-encrypted username and password string in the 'Authentication' HTTP header.
- successfully executed an SSL-enabled call to the Web Service from a standalone JUnit TestCase class. (So I know the above work correctly.)
I'm having difficulty getting JBoss to do the call for me. I continually get the
javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.
What do I need to do to get JBoss to recognize my keystore and make the Web Service calls over SSL using the Axis-generated class files??
Thank you for your help!
- jackstr