Quantcast
Channel: Adobe Community : Popular Discussions - ColdFusion Server Administration
Viewing all articles
Browse latest Browse all 78799

SSL problem when running Apache httpclient in Jrun and not in stand-alone Java

$
0
0

We are using the Apache httpclient 4.1.2 to post to an external server, using SSL. The post works fine when running it from the Java JRE , but when the code runs under a JRUN/Colfusion instance that uses the same Java JRE the error message returned is:

 

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

      at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352)

      at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)

.......

 

When debugging the connect using the -Djavax.net.debug=all setting, the error message shown internally is:

 

java.lang.RuntimeException: Could not generate secret

 

Is there some weird ColdFUsion setting we need to undo to make this work? We installed the cert from the other server in the /rje/lib/sercurity/cacerts file but that did not make a difference. Why does standalone java work and not Jrun?

 

The JDK version is 1.6.0_24-b07

Coldfusion: 9,0,1,274733 


Viewing all articles
Browse latest Browse all 78799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>