Skip to content

Instantly share code, notes, and snippets.

@nameldk
Forked from reinaldomendes/curl.ini
Created January 19, 2018 08:14
Show Gist options
  • Save nameldk/be3934a07e46567543578fa3ee5dbfeb to your computer and use it in GitHub Desktop.
Save nameldk/be3934a07e46567543578fa3ee5dbfeb to your computer and use it in GitHub Desktop.
PHP Curl error 77 on ssl conections
;###################################################
; NOTE
;####################################################
; change your curl.ini on /etc/php.d/curl.ini
;
;This config was only tested on amazon AMI
;Please check if /etc/ssl/certs/ca-bundle.crt exists
;
;If you don't have the ca-bundle root certificate you
; can get this in
;http://curl.haxx.se/docs/caextract.html
;#####################################################
; Enable curl extension module
extension=curl.so
curl.cainfo="/etc/ssl/certs/ca-bundle.crt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment