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"
@nhitze
Copy link
Copy Markdown

nhitze commented Aug 10, 2016

Thx a lot, saved me lot of time

@nameldk
Copy link
Copy Markdown

nameldk commented Jan 19, 2018

Good job.

@kaioken
Copy link
Copy Markdown

kaioken commented May 11, 2018

thanks

@bit-cook
Copy link
Copy Markdown

bit-cook commented Aug 2, 2018

It doesn't work.

Copy link
Copy Markdown

ghost commented Oct 26, 2018

Thanks!!!

@cromosrepes
Copy link
Copy Markdown

Thanks very useful

@alexandre-castro
Copy link
Copy Markdown

Thanks !!! Show !

@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