Skip to content

Instantly share code, notes, and snippets.

@kevinburke
Created July 26, 2014 18:43
Show Gist options
  • Save kevinburke/4d85873466903ba2e4c0 to your computer and use it in GitHub Desktop.
Save kevinburke/4d85873466903ba2e4c0 to your computer and use it in GitHub Desktop.
still not working
[nix@gazelle ~]$ nix-env --install cacert
replacing old `cacert-20131205'
installing `cacert-20131205'
building path(s) `/nix/store/h72582pcjlsqjbz1riz343r8rmmfil02-user-environment'
created 1756 symlinks in user environment
[nix@gazelle ~]$ which curl
~/.nix-profile/bin/curl
[nix@gazelle ~]$ curl https://api.twilio.com
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment