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
TesterInSkyTesterInSky 

'javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated' if Client Authentication enabled

I set up a server to accept Salesforce Outbound Message. The cert issuer is Thawte which is in the Outbound Msg SSL CA Certificates list (http://wiki.developerforce.com/index.php/Outbound_Messaging_SSL_CA_Certificates).

 

The server could accept the message through SSL, but caught the error:

 

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

 

if the Client Authentication is enabled. I used  the cert provided by Salesforce for the client authentication part.

 

I did another test on my side. I extracted root and intermediate CAs from the sfdc-client.cert. If I set these two certs for Client Authentication, then it passed. I find this a little weird, because it seems that the salesforce leaf certificate is not involved in this process.

Message Edited by TesterInSky on 05-31-2009 09:57 PM
Message Edited by TesterInSky on 05-31-2009 09:57 PM