Forum

Curl error: SSL cer...
 
Notifications
Clear all

Curl error: SSL certificate problem: unable to get local issuer certificate

2 Posty
1 Users
0 Reactions
2,567 Widok
0
Topic starter

Curl error: SSL certificate problem: unable to get local issuer certificate

2 Answers
0
Topic starter

1. Download ca-bundle
form source : https://github.com/bagder/ca-bundle/blob/e9175fec5d0c4d42de24ed6d84a06d504d5e5a09/ca-bundle.crt
or mirror : http://muszak.eu/wp-content/plugins/download-monitor/download.php?id=5
2. add to php.ini simmilar lines

1
2
curl.cainfo="F:xampp5611ca-bundle.crt"
openssl.cafile="F:xampp5611ca-bundle.crt"
curl.cainfo="F:xampp5611ca-bundle.crt"
openssl.cafile="F:xampp5611ca-bundle.crt"
0
Topic starter

this alsfo fix

1
2
3
4
5
6
  The "https://www.phpmyadmin.net/packages.json" file could not be downloaded  
  : SSL operation failed with code 1. OpenSSL Error messages:                  
  error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify   
  failed                                                                       
  Failed to enable crypto                                                      
  failed to open stream: operation failed   
  The "https://www.phpmyadmin.net/packages.json" file could not be downloaded  
  : SSL operation failed with code 1. OpenSSL Error messages:                  
  error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify   
  failed                                                                       
  Failed to enable crypto                                                      
  failed to open stream: operation failed   

Odpowiedź

Author Name

Author Email

Your question *

Preview 0 Revisions Saved
Share: