[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] --no-check-cert does not avoid cert warning

From: Ander Juaristi
Subject: Re: [Bug-wget] --no-check-cert does not avoid cert warning
Date: Tue, 1 Dec 2015 21:48:52 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 12/01/2015 09:31 AM, Tim Ruehsen wrote:
Are you working on *nix ?

Try wget ... |& grep -v "WARNING: cannot verify"

To filter out the warnings you don't want to see. You could use egrep to
filter different lines at once.

That's a good idea but IMO it's a bit hackish. What's more, I think `|&' it's 
not a *nix feature, but rather a Bash feature.

It's basically `2>&1 |' behind the scenes, but worth pointing it out, anyway 

[1] http://www.gnu.org/software/bash/manual/bashref.html#Pipelines

If you are working with self-signed certificates, use --ca-certificate=... to
allow wget perform a proper check.


On Monday 30 November 2015 17:43:54 Karl Berry wrote:
     An alternative to make  --no-check-certificate silent would be to
     provide a parameter to explicitely silence it:

Sure, sounds fine.  Or any other method ...

- AJ

reply via email to

[Prev in Thread] Current Thread [Next in Thread]