Skip to content

Instantly share code, notes, and snippets.

@reinaldomendes
Last active March 28, 2022 06:41
Show Gist options
  • Select an option

  • Save reinaldomendes/97fb2ce8a606ec813c4b to your computer and use it in GitHub Desktop.

Select an option

Save reinaldomendes/97fb2ce8a606ec813c4b 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"
@pravesh805
Copy link
Copy Markdown

pravesh805 commented Mar 28, 2022

doesn't worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment