Error 77 when solving PHP curl HTTPS

Explain the function of static keyword and final keyword in Java in detail>>>

Error 77 (problem with reading the SSL CA cert (path?access rights?))

The server environment is CentOS, PHP FPM. When using curl, an HTTPS station fails. Open curl_ Problem with reading the SSL CA cert (path?access rights?)

Solution:
1. Sudo Yum install CA certificates

2. Restart PHP FPM. This is an important step. When you change the underlying things, you must restart it

3. Curl setting: curl_ setopt($ch, CURLOPT_ SSL_ VERIFYPEER, 0)

Similar Posts: