Hi,
I'm testing my application in the Jboss 6.0.0.Final. This application, actualy works on jboss 4.2.3. The application call a web service with SSL, using this way:
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true");
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.setProperty("https.proxySet", "true");
System.setProperty("https.proxyHost", "proxy's ip");
System.setProperty("https.proxyPort", "proxy's port");
Authenticator.setDefault(new ProxyAuthenticator("proxy's user", "proxy's password"));
System.setProperty("javax.net.ssl.trustStoreType", "JKS");
System.setProperty("javax.net.ssl.trustStore", "path of the trust");
System.setProperty("javax.net.ssl.trustStorePassword", "password");
System.setProperty("javax.net.ssl.keyStoreType", "PKCS12");
System.setProperty("javax.net.ssl.keyStore", "path of the .p12 file" );
System.setProperty("javax.net.ssl.keyStorePassword", "password");
....
MessageFactory factory = MessageFactory.newInstance(SOAPConstants.SOAP_1_2_PROTOCOL);
....
SOAPConnection con = SOAPConnectionFactory.newInstance().createConnection();
SOAPMessage res = con.call(message, url);
When I execute my application on Jboss 6, the result is: "The page requires a client certificate". But I execute with Jboss 4.2.3 works fine.
How do I fix this?
Thank you.