I have a component written in Java, I cannot change, which is deployed on WAS 7 and tries to call web service via https. I am getting:
Server chose unsupported or disabled protocol: SSLv3
When I tried to call the same web service from SoapUI or java app (the same version of java as WAS) I got the same error, but it was easy to fix with:
System.setProperty("https.protocols", "SSLv3");
For some reason I could not force websphere to work. I set this property via console but the error was still the same. When I print system properties I see that it was set properly.
Java version: java version "1.6.0" Java(TM) SE Runtime Environment (SR10 FP1)IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9)
This is the log file from the server. How to force it to use SSLv3 instead of TLSv1? Can I change it through the console? I was told that it works on the server, however I don't have access to the settings. What might be the case apart from settings? Different version of JVM, WAS?
[1/24/13 17:04:58:842 CET] 0000003e SystemOut O WebContainer : 4, **WRITE: TLSv1 Handshake**, length = 57[1/24/13 17:04:58:967 CET] 0000003e SystemOut O WebContainer : 4, **READ: SSLv3 Handshake**, length = 74[1/24/13 17:04:58:967 CET] 0000003e SystemOut O *** **ServerHello, SSLv3**...[1/24/13 17:04:58:967 CET] 0000003e SystemOut O WebContainer : 4, handling exception: javax.net.ssl.SSLHandshakeException: **Server chose unsupported or disabled protocol: SSLv3**[1/24/13 17:04:58:967 CET] 0000003e SystemOut O WebContainer : 4, SEND TLSv1 ALERT: fatal, description = handshake_failure[1/24/13 17:04:58:967 CET] 0000003e SystemOut O WebContainer : 4, WRITE: TLSv1 Alert, length = 2[1/24/13 17:04:58:967 CET] 0000003e SystemOut O WebContainer : 4, called closeSocket()[1/24/13 17:04:58:967 CET] 0000003e SystemOut O WebContainer : 4, called close()...