Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Problem with accessing https URLs - solution (1 reply)

$
0
0
Hi,

I've had big problem accessing https URLs from PHP curl_exec function. There were no errors or anything but the reply was always false value after calling function curl_exec.

Finally I've found solution on 2 pages:
[sumanbhattarai.com.np]
[south634.com]

First: you need to download cert.pem file from this page: [curl.se]

Save it to d:\wamp64\bin\php\php8.1.8\extras\ssl\ as cacert.pem

And edit php.ini file
openssl.cafile="d:\wamp64\bin\php\php8.1.8\extras\ssl\cacert.pem"

Remember to change the location where you have WAMP installed.

Now I can access https URLs.


Maybe this can be changed in WAMP, so that after installation everything works.


Regards,
Tomek

Viewing all articles
Browse latest Browse all 3177

Trending Articles