Skip to content

Instantly share code, notes, and snippets.

@JasonGiedymin
Created July 6, 2011 13:34
Show Gist options
  • Select an option

  • Save JasonGiedymin/1067230 to your computer and use it in GitHub Desktop.

Select an option

Save JasonGiedymin/1067230 to your computer and use it in GitHub Desktop.
Cygwin SSL Cert Issues
# Getting these Errors?
error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://<some site here>
# From this thread you need to install root certificates. Do the following:
cd /usr/ssl/certs
$ curl http://curl.haxx.se/ca/cacert.pem | awk 'split_after==1{n++;split_after=0} /-----END CERTIFICATE-----/ {split_after=1} {print > "cert" n ".pem"}'
$ c_rehash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment