Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Sat Aug 19, 2017 2:43 am


Tips & Tricks, Questions regarding shell scripts, awk, perl, sed and much more.

Author Message
mandrei99
Post  Post subject: Wget error: ERROR: The certificate of is not trusted.  |  Posted: Wed Jan 14, 2015 6:23 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 245

Offline
 

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:

Code:
# 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)... 188.40.103.19, 2a01:4f8:100:8082::2
Connecting to xcache.lighttpd.net (xcache.lighttpd.net)|188.40.103.19|: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:
Code:
# 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:
Code:
# wget --no-check-certificate https://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.gz





Wget: How to test web server gzip compression.


Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "Wget error: ERROR: The certificate of is not trusted."
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Wget: How to test web server gzip compression

admin

0

1420

Wed Jun 26, 2013 8:39 am

admin View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO