|Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
|Wget error: ERROR: The certificate of is not trusted.
|Page 1 of 1|
|Author:||mandrei99 [ Wed Jan 14, 2015 6:23 am ]|
|Post subject:||Wget error: ERROR: The certificate of is not trusted.|
Wget error: ERROR: The certificate of is not trusted / Skipping ssl/tls certificate checks with wget
Some webmasters use self signed or own CA signed certificates for trivial websites. Such example is xcache website:
# wget https://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.gz
--2015-01-14 05:18:48-- https://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.gz
Resolving xcache.lighttpd.net (xcache.lighttpd.net)... 126.96.36.199, 2a01:4f8:100:8082::2
Connecting to xcache.lighttpd.net (xcache.lighttpd.net)|188.8.131.52|:443... connected.
ERROR: The certificate of `xcache.lighttpd.net' is not trusted.
ERROR: The certificate of `xcache.lighttpd.net' hasn't got a known issuer.
This can be solved by checking wget help:
# wget --help | grep certificate
--no-check-certificate don't validate the server's certificate.
--certificate=FILE client certificate file.
--certificate-type=TYPE client certificate type, PEM or DER.
--ca-certificate=FILE file with the bundle of CA's.
So to finally download a file from a website using a non-trusted certificate with wget:
# wget --no-check-certificate https://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.gz
|Page 1 of 1||All times are UTC - 5 hours [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group