Skip to content

Instantly share code, notes, and snippets.

@kaioken
Forked from reinaldomendes/curl.ini
Created May 11, 2018 01:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaioken/2ecb074424f6a7e2b0497832778ce844 to your computer and use it in GitHub Desktop.
Save kaioken/2ecb074424f6a7e2b0497832778ce844 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