Home : How to fix cygwin ssl certificate

After updating cygwin, you might get the following error when doing something related to ssh:

error: SSL certificate problem, verify that the CA cert is OK.\
Details: error:14090086:SSL
verify failed while accessing \

To fix it:\

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”}’\