!!! Help, please!  Call webservice https in WLS 9.2

I have a webservice https running in weblogic 9.2. During the call I get {color: #ff0000} < strong > & lt; BEA-090477 & gt; & lt; String certificate received from abcserver.com - 171.186.224.20 was not reliable causing SSL handshake failure. & gt; < facilities >



{color}



But when I write a stand-alone program with main() in my local machine and call the webservice work fine! But when I write a client using the same code and put it inside a .war file and deploy in weblogic 9.2 Server and then call,... it gives the error.







That's what I did.



1. I have generated the customer using "weblogic.wsee.tools.anttasks.ClientGenTask".



2 download the .der since firefox after that I accessed the wsld (https://abcserver.com/...wsdl). and created the keystore by < strong > keytool-import - alias servercert - server.der - keystore file server.keystore.



3 < facilities > added in the client code



System.setProperty ("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");



System.setProperty("javax.net.ssl.trustStore",".../server.keystore");



System.setProperty ("javax.net.ssl.trustStorePassword", "password"); and then called the webservice.







Funny, it is one with the same code if I write a stand-alone client with public Shared Sub main(), it is able to call the Web service correctly. But if I write the same code and pack it in file .war and deploy in WLS 9.2 it gives the above error. Another thing even if I put "javax.net.ssl.trustStore" with the absolute of the server.keystore folder path, while I printed the values in the jvm, it never shows up. but all the other values are displayed correctly. Is that the main problem is the FMV of my local system and jvm WLS 9.2?



If someone could help. Please... it's urgent!

WebLogic uses its own keystore. He's probably ignore these property settings, you need to do. You can see the path to the key file by going to "Servers"--> (server)-> "Settings"-> "Keystore.

Tags: Fusion Middleware

Similar Questions

Maybe you are looking for