Skip to content

Instantly share code, notes, and snippets.

@atuanpham
Created June 13, 2016 14:10
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 atuanpham/7e431460a97a40c762966b0e9ab8e728 to your computer and use it in GitHub Desktop.
Save atuanpham/7e431460a97a40c762966b0e9ab8e728 to your computer and use it in GitHub Desktop.
curl: (77) error setting certificate verify locations
curl: (77) error setting certificate verify locations:
  CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none

How to fix? Put the following line into .bashrc:

export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment