Question "
I am trying to access webservice deployed in loadbalence envinorment we are getting the below error
"Certificate chain received from mynetworksit.ebiz.verizon.com - 113.134.232.24 was not trusted causing SSL handshake failure."
Any suggessions to solve this error
Answer"
you need to make sure your keys are all registered properly with WebLogic Server.
You need to update the certificate.
In my case, in my Laptop I am not getting this error in my project dev environment and UAT environment I am getting this error, What I did is I copied the certificate from Laptop to Dev ,UAT environment.
For more details go through the below link
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/secmanage/identity_trust.html
Very good article
ReplyDeleteHi Venkat
ReplyDeleteI have the same problem . I am able to make my code work by deploying it on Weblogic 10.3 on my Lap top but get the error in the Dev & UAT Environments . You said you copied the certificate from your lap top to the Environments.Do you mean you copied the CACERT under jre\lib\security from your lap top to your DEV environment ?
Background
We are trying to connect to a 3rd party Webservice.We have the Web Service certificate from the 3rd party and have imported it to our CACERT on jre\lib\security on the Dev/UAT Weblogic 10.3 servers.But when we get the "Certificate chain received from xxx.yyy.com/CryptoGraphyService.asmx - IP was not trusted causing SSL handshake failure."
hey import the cer file ..
ReplyDeleteand use following command to import it and restart the weblogic.
keytool -import -keystore /usr/bipin/bahuguna/bea/jrockit_160_05/jre/lib/security/cacerts -alias myCertAlias -file "/usr/local/applmgr/bea/deepti/config/bahuguna.cer"
There is 3rd Party webservices hosted over HTTPS, while consuming webservice i am facing SSL handshake failure error.
ReplyDeleteFor security reasons we do no have access to 3rd party url or service, its only our client can access from there environment.
I have done enough hit and trial but still not succeeded.
Our application is running on Weblogic 9.2.
3rd party have provided the certificate (.p7b format). I have imported these certificates in the javakeystore (cacerts), even in the weblogic keystores (demotrust.jks), but still same error. I have tried different combination of importing the certificate in keystore, i can see the entry of teh certificate in the keystore as well.
Even the stubs we have asked the client to generate in there environment(since we cannot acces from our environment), using HTTP stubs are getting generated but using HTTPS, it gives SSL handshake failure.
I think if we resolve this issue, then application will also run.
Application runs fine on http, but on https it gives SSL handshake failure error.
I have properly converted from (.p7b to .cer format and then imported), even used .p7b to .pem to .der format and then imported in the java keystore, demotrust.jks, but still does not work.
Am i missing any steps, please let me know.