Skip to content

Conversation

andykimpe
Copy link

add ssl ont comment

@@ -58,6 +61,8 @@
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
//for ssl uncomment this line
//curl_setopt($ch,CURLOPT_SSL_VERIFYPEER, false);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this option is needed here? I'd say it ruins the idea of SSL certificates. If you met this issue the most likely the https/SSL is not configured well on the $dest_host. Or SSL local certificates are outdated.

Can you share your issue details on the pull request please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants