Notifications
Clear all
BugOverflow
1
Posty
1
Users
0
Reactions
1,698
Widok
0
16/01/2020 11:09 am
Topic starter
client, php, ssl, https
1 Answer
0
16/01/2020 11:10 am
Topic starter
Make sure that you have configured cafile inside php.ini
[openssl] ; The location of a Certificate Authority (CA) file on the local filesystem ; to use when verifying the identity of SSL/TLS peers. Most users should ; not specify a value for this directive as PHP will attempt to use the ; OS-managed cert stores in its absence. If specified, this value may still ; be overridden on a per-stream basis via the "cafile" SSL stream context ; option. openssl.cafile=/etc/apache2/cacert.pem
Download cacert.pem from https://curl.haxx.se/ca/cacert-2020-01-01.pem
More certs: https://curl.haxx.se/docs/caextract.html