You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Add a sites certificate so make curl secure

Received Response
18
Views
2
Comments
edited Nov 6, 2018 1:20PM in Agent Desktop 2 comments

Content

Hi,

At the moment when using cUrl we have to use:

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);

However in reply to one of my posts, someone posted a solution about getting the certificate of a website and adding it to the file manager and then referencing it in the code but for the life of me I can't remember where it was or what to do

Any advice?

Thanks

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!