Wednesday, March 17, 2010

JDeveloper 11g: SSL handshake error

Oracle JDeveloper always connects over HTTPS (SSL) to your SOA Server. In my cluster setup I ran into an issue, that it could not setup the SSL connections.

Creating HTTPS connection to host:node2.vijfhuizen.local, port:8021
unable to find valid certification path to requested target

This issue comes that the runtime Java of JDeveloper does not have the correct certificates loaded in your keystore. You should copy these certificates in your local keystore (cacerts), this file is located in $JAVA_HOME/jre/lib/security.

Implementing this solution is written here.
$JAVA_HOME/bin/javac InstallCert.java
Then
mv $JAVA_HOME/jre/lib/security/cacerts $JAVA_HOME/jre/lib/security/cacerts.org
cp jssecacerts $JAVA_HOME/jre/lib/security

2 comments:

Tom Hofte said...

Marc,

can you give the pointer to the documentation that states that Jdeveloper always uses ssl for deployment?

My Jdeveloper 11.1.1.2 does not use http by default..
---
[07:55:36 PM] Preparing to send HTTP request for deployment
[07:55:36 PM] Creating HTTP connection to host:192.168.148.1, port:8001
[07:55:36 PM] Sending internal deployment descriptor
[07:55:36 PM] Sending archive - sca_SCAAsyncOSBProxy_rev1.0.jar
---
Have I missed something?

-Tom

Marc Kelderman SOA Blog said...

Dear Tom,

Thanks for your question. As I try to help you, my JDeveloper version is 11g with PS1. It always connects on https, even the checkbox of 'always use ssl' is not checked.
I disabled the SSL configuration on my WLS, that even did not help. Maybe it is my JDevelopmer that does something wrong.

Marc

Post a Comment

Post a Comment