[jboss-dev-forums] [Design of Security on JBoss] - JBoss 4.0.5/Axis 1.4/SSL Config
jackstr
do-not-reply at jboss.com
Mon May 21 20:15:40 EDT 2007
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
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047411#4047411
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047411
More information about the jboss-dev-forums
mailing list