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

Re: wget & certificates



On Thu, May 19, 2011 at 07:27:34AM +0200, Kamil Jońca wrote:
> 
> I have strange problem with wget:
> $wget -e "background = off" -v -x 'https://www.centrum24.pl/bzwbkonline/eSmart.html?typ=90&lang=pl'
> 
> --8<---------------cut here---------------start------------->8---
> --2011-05-19 07:26:00--  https://www.centrum24.pl/bzwbkonline/eSmart.html?typ=90&lang=pl
> Resolving www.centrum24.pl... 195.20.110.130
> Connecting to www.centrum24.pl|195.20.110.130|:443... connected.
> ERROR: cannot verify www.centrum24.pl's certificate, issued by `/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https://www.verisign.com/rpa (c)06/CN=VeriSign Class 3 Extended Validation SSL SGC CA':
>   Unable to locally verify the issuer's authority.
> To connect to www.centrum24.pl insecurely, use `--no-check-certificate'.
> --8<---------------cut here---------------end--------------->8---
> 
> Connecting with iceweasel seems ok? 
> What is wrong, what to check?
> KJ

Check that your version supports https. It should be listed in the
output of 'wget -V'. wget-1.12-2.1 from the squeeze repos supports it.

I have tried that URL without problem:

$ LANG=C; wget -e "background = off" -v -x 'https://www.centrum24.pl/bzwbkonline/eSmart.html?typ=90&lang=pl'
--2011-05-19 11:29:20--  https://www.centrum24.pl/bzwbkonline/eSmart.html?typ=90&lang=pl
Resolving www.centrum24.pl... 195.20.110.130
Connecting to www.centrum24.pl|195.20.110.130|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `www.centrum24.pl/bzwbkonline/eSmart.html?typ=90&lang=pl'

    [ <=>                           ] 29,601      --.-K/s   in 0.1s

2011-05-19 11:29:20 (275 KB/s) - `www.centrum24.pl/bzwbkonline/eSmart.html?typ=90&lang=pl' saved [29601]

Not knowing the contents of your .wgetrc (if any), I'd check ca_certificate and ca_directory.
Failing that, try adding --no-check-certificate.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

Attachment: signature.asc
Description: Digital signature


Reply to: