You need to sign in to do that
Don't have an account?
All@RX
Secure Http Request With SSL SNI Certificate
Hi,
We have just deployed some Https Webservice that are certified with SSL through reverse proxy that supports SNI (http://en.wikipedia.org/wiki/Server_Name_Indication).
With the simple Outbound Message it works fine, but with WebserviceCallout or with HttpRequest we got the following error :
-IO Exception: java.security.cert.CertificateException: No subject alternative DNS name matching "Server Name" found.
Do the both mecanisms (OutboundMessage and HttpRequest) have different libraries underneath ?
Thank you,
Hi ,
For more info ,please refer to below link :
http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#CSHID=apex_callouts_wsdl2apex.htm|StartTopic=Content%2Fapex_callouts_wsdl2apex.htm|SkinName=webhelp
For that, you need to pass Certificate (Base64 converted value ) into the attribute :
Thank you for your answer, but I think it is not related.
We do One way SSL authentication, so there is no need of client certificate.
See this sample code :
The error returned is :
This is because SNI (see wiki link) can return a different certificate for the same IP.
I know that Java 7 support SSL SNI, but not Java 6.
we ran into the same issue. Our IT fixed it somehow on their server by installing another cert. Our CTO raised an eyebrow about the salesforce SSL implementation (apparently still using Java6 was his assumption?)