Curl error: SSL certificate problem: unable to get local issuer certificate« Wróć do listy pytań

Curl error: SSL certificate problem: unable to get local issuer certificate
Wysłane przez mrmucha
Zadane przez 27/08/2015 18:21
0

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   
Wysłane przez mrmucha
Odpowiedziane 14/09/2015 09:33
0

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:\xampp5611\ca-bundle.crt"
openssl.cafile="F:\xampp5611\ca-bundle.crt"
curl.cainfo="F:\xampp5611\ca-bundle.crt"
openssl.cafile="F:\xampp5611\ca-bundle.crt"
Wysłane przez mrmucha
Odpowiedziane 27/08/2015 18:24