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

nhitze commented Aug 10, 2016

Copy link
Copy Markdown

Thx a lot, saved me lot of time

@nameldk

nameldk commented Jan 19, 2018

Copy link
Copy Markdown

Good job.

@kaioken

kaioken commented May 11, 2018

Copy link
Copy Markdown

thanks

@bit-cook

bit-cook commented Aug 2, 2018

Copy link
Copy Markdown

It doesn't work.

ghost commented Oct 26, 2018

Copy link
Copy Markdown

Thanks!!!

@cromosrepes

Copy link
Copy Markdown

Thanks very useful

@alexandre-castro

Copy link
Copy Markdown

Thanks !!! Show !

@pravesh805

pravesh805 commented Mar 28, 2022

Copy link
Copy Markdown

doesn't worked for me.

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