Created
July 6, 2011 13:34
-
-
Save JasonGiedymin/1067230 to your computer and use it in GitHub Desktop.
Cygwin SSL Cert Issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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