• kannan.pasupathy
  • NEWBIE
  • 5 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi,

I am trying to access Salesforce.com using its published webservices.

I have developed the entire code at my home internet connection and it workes fine there (as I didn't have any firewall blokcing there).
Now when I am trying to run the same code here on my company's LAN I am getting the following error: -
       javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

I have set the Proxy settings : -
            System.getProperties().put("proxySet", true);
            System.setProperty("http.proxyHost", <company-proxy>);
            System.setProperty("http.proxyPort", "8080");
            System.setProperty("https.proxyHost", <company-proxy>);
            System.setProperty("https.proxyPort", "8080");
            System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
            Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());

I have gone through the previously posted threads regarding the same problem but couldn't get any solution regarding this.

Probably this has something to do with the ssl certificates. But I am not so familier with them and their installation.
I am using Axis1.3's jar files in my project, But I am not running axis server.

I am also able to access other https sites from my program. But not able to login in salesforce.

As my program is running perfect on my home's internet connection I am quite sure that there is something wrong with the proxy setting of my company, please guide me where am I going worng.


Thanks,
Piyush.