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
EXRADMEXRADM 

Ignore bad certificate

I am working on getting the Strongview API working with my Force.com app.  According to their documentation, this lit bit of code is required (C# example):

 

/* Ignore Certificate by trusting all certificate */
System.Net.ServicePointManager.CertificatePolicy = new TrustAllCertificatePolicy();

 

Shocking, right?  Anyway, is there an Apex equiqalent for this?  The part of me that wants the Force.com environment to be a safe and secure place hopes that there isn't.  The part of me that is a developer who needs to get a task done hopes there is.  ...But mostly I hope there isn't...

Vinita_SFDCVinita_SFDC

Hello,

 

I could not list down anything like this in Apex. I would suggest you to post an idea, with business case, on idexchange portal:

 

success.salesforce.com/ideaSearch