[clug] PHP and ssl
jm
jeffm at ghostgun.com
Tue Jul 12 07:05:14 UTC 2016
According to http://www.php.net/manual/en/function.curl-setopt.php you
need to set
CURLOPT_SSL_VERIFYPEER = FALSE
I don't personally use PHP so this is just a guest.
Jeff.
On 12/07/2016 16:29, Adrian wrote:
> Hi,
>
> I have a requirement to fetch an image from a server via HTTPS. At the
> moment the certificate has expired. How can I get php to ignore the
> error and continue to get the image?
>
> Adrian
>
More information about the linux
mailing list