+ Start a Discussion

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...




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