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
rajeshprasad47@yahoo.co.inrajeshprasad47@yahoo.co.in 

Could not establish trust relationship for the SSL/TLS

Hi

 

below is my code :

 

SoapClient m_sfdcSrv = new SoapClient();
            
             
            loginResult = m_sfdcSrv.login(loginScopeHeader, "synthesis_rajesh@hotmail.com", "admin@1234lM9Jzm7SgNdqDnh8O3Y92jAbz");

 

When i run this code i m getting this error

Could not establish trust relationship for the SSL/TLS secure channel with authority 'login.salesforce.com'

 

Please help me, thanks in advance

 

BrendanOCBrendanOC

Can you give some more details?  This looks like a problem with your code.  https://login.salesforce.com definitely has a valid SSL certificate.