clarkwinkelmann
Thanks for your reply.
I use VPS to host flarum, and usenginx, I have followed the steps combining my case:
- download the
cacert.pem and move it to /usr/local/nginx/sbin/, I am not sure whether it's the right dir to place cacert.pem, but it seems like C:\xampp\apache\bin\ according to Stackoverflow
- append the configure in
/usr/local/php/etc/php.ini as following:
curl.cainfo = "/usr/local/nginx/sbin/cacert.pem"
openssl.cafile = "/usr/local/nginx/sbin/cacert.pem"
openssl.capath = "/usr/local/nginx/sbin/cacert.pem"
- reload
nginx
- it fails
in fact I found my /usr/local/php/etc/php.ini has the configure originally as following:
curl.cainfo = "/usr/local/openssl/cert.pem"
openssl.cafile = "/usr/local/openssl/cert.pem"
openssl.capath = "/usr/local/openssl/cert.pem"
so I just replace the string "cert.pem" to "cacert.pem" in configure, and place cacert.pem in /usr/local/openssl/, but it also fails.
Maybe I need cert.pem instead of cacert.pem, I am just a newbie, what should I do?
Looking forword your reply.