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
Puru AnnamalaiPuru Annamalai 

Need Idea for Salesforce to Tomcat Server with SSL Integration

I want to send an SSL Encrypted(using certificates) callout from Salesforce to my java application which runs in Tomcat Server locally in my windows machine.

From the Salesforce, i can't send an callouts to localhost, i can send only to the domains which is publicly available in internet, so how do i (Salesforce) access my tomcat localhost application from the internet.

Host file configurations, proxy servers  works only inside my system, but i want it to be on public, how do i start with this, i know about the SSL Certification creation,signing process and all, need idea about the how to make my localhost app public in internet, kindly give your suggestions.

Thanks in Advance !!!
NagaNaga (Salesforce Developers) 
Hi Puru,

Normally when your browser establishes an SSL connection to a secure web site, only the server's certificate is checked. This "one-way" SSL mode is sufficient because the server does not rely on SSL to make assumptions about the browser client's identity. The browser on the other hand wants to check that the server is who it says it is. For example, when you connect to https://login.salesforce.com, the certificate will state that you have indeed reached "login .salesforce.com", so the browser knows it is talking to the right server. The server, login.salesforce.com, on the other hand, doesn't really care what kind of browser or computer you are using. All that matters to the server is that it can establish a secure communications channel to the other end that no one is listening in on. Then it can ask the user for credentials to prove identity.

Please follow the link below for more info

https://developer.salesforce.com/page/Chatter_API
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts_client_certs.htm

Best Regards
Naga Kiran