function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
adrienadrien 

Another Certificate Post - I've read all yours and I'm still out of luck

This is the error:

{http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Could not find trusted certificate
        at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
        at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
        at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:130)
        at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:382)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:88)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2737)
        at org.apache.axis.client.Call.invoke(Call.java:2720)
        at org.apache.axis.client.Call.invoke(Call.java:2396)
        at org.apache.axis.client.Call.invoke(Call.java:2319)
        at org.apache.axis.client.Call.invoke(Call.java:1776)
        at com.sforce.soap.partner.SoapBindingStub.getUserInfo(SoapBindingStub.java:1608)
        at com.gotcompany.salesforce.SalesforceConnection.login(SalesforceConnection.java:118)

This is what I have done to try and solve this error:

when I run java -version it tells me that I am running 1.4.2 and my environment variables all say the same thing.

I am running resin and from their documentation it should use the jdk set by the environment.

I have updated our certificates using the keytool and imported the cert from na1.salesforce.com

I am running out of options and really need to get this deployed asap.

Suggestions?

adrienadrien

Thanks, I found in my application server an area where it was pointing to the old jre.  Since then it has worked.  You may want to correct the address on the sun site in your posting, the url is outdated.

Thank you again.