How do I fix certificate errors when running wget on an HTTPS URL in Cygwin?

Russell Davis picture Russell Davis · Feb 10, 2012 · Viewed 274.4k times · Source

For example, running wget https://www.dropbox.com results in the following errors:

ERROR: The certificate of `www.dropbox.com' is not trusted.
ERROR: The certificate of `www.dropbox.com' hasn't got a known issuer.

Answer

DH4 picture DH4 · Jan 8, 2013

If you don't care about checking the validity of the certificate just add the --no-check-certificate option on the wget command-line. This worked well for me.

NOTE: This opens you up to man-in-the-middle (MitM) attacks, and is not recommended for anything where you care about security.