i just finished the laravel tutorial (Auth0 Laravel SDK Quickstarts: Add Login to a Laravel Application) and i get the error that my certificate is outdated. I am using laragon and it says the certificate is valid until 2030 so that would be no problem. Anyone have a idea?
How to solve this problem:
- download and extract cacert.pem following the instructions at curl - Extract CA Certs from Mozilla
- save it on your filesystem somewhere (for example, laragon users might use
C:\laragon\etc\ssl\cacert.pem
) - in your php.ini, put this file location in the
[curl]
section (putting it in the[openssl]
section is also a good idea):
[curl]
curl.cainfo = "C:\laragon\etc\ssl\cacert.pem"
[openssl]
openssl.cafile = "C:\laragon\etc\ssl\cacert.pem"
- restart your webserver (e.g. Apache) and PHP FPM server if applicable
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.