You need to sign in to do that
Don't have an account?
ben.myers
Salesforce Client Certificate
Hi
I would like to use Salesforce client certificate to validate the identity of outbond messages sent from Salesforce. How can I do this and is there an example?
Sorry, but the API Developer's Guide does not have much information on this.
Thanks,
Ben
SSL with tomcat here[1].
Let me know if you need more help.
-cheenath
[1] http://www.vorburger.ch/blog1/2006/08/setting-up-two-way-mutual-ssl-with.html
I would appreciate a code snippet if you have one.
TIA
jd
1. Download the client certificate from sfdc (sfdc-client.cert)
2. Use keytool to import sfdc-client.cert into tomcat trust store.
If you dont have a trust store already, you can copy cacerts
keystore from JDK.
keytool -import -v -file sfdc-client.cer -keystore trust.keystore -storepass xxx
3. Configure tomcat to request client cert by changing server.xml
<connector ... clientauth="true" truststorefile="trust.keystore" >
4. Restart the server and try to access this page using browser.
If your setup is good, browser should ask for client certificate.
HTHs,
I followed the steps, but I'm having issues just accessing port 8443. When I enter "https://localhost:8443" I get an unable to connect message in the browser. Any help would be appreciated.
Also which page should I try to access to test the setup?
Thanks again!
jd
Check tomcat log files. See if the SSL server started ok.
>Also which page should I try to access to test the setup?
Any page that you can access through http will do.
jd
I followed the tomcat howto SSL instructions and executed the commands below:
jd