[Top][All Lists]

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

Re: [Bug-wget] Mirroring a site

From: Ray Satiro
Subject: Re: [Bug-wget] Mirroring a site
Date: Mon, 22 Mar 2010 10:31:03 -0700 (PDT)

I'm trying to mirror a site and having a tough time with it because it's a
site that I have to login for school but doesn't use 'normal'
authentication.  I'm new to wget and I'm confused what I should do.  Every
attempt gives different errors but this one keeps coming up:
"Error:  cannot verify www.lib.byu.edu's certificate, issued by
'/C=US/O=DigitCert Inc/OU=www.digicert.com/CN=DigiCert Clobal CA':

Any help for a newbie??

..doesn't use normal authentication? It looks like you need to send/receive 
cookies and send your login info via POST method. Please review the 
documentation. I'll get you started re cert verify problem:

wget/openssl cannot verify the server certificate unless it has access to a 
list of trusted certificate authorities, one of which could have signed that 
certificate. You can download a file containing most of the certificates from 
certificate authorities from here

You can edit your wget configuration file or pass the name on the command line 
using --ca-certificate= 
similar to this:

..download certificate
wget-1.12 -nv http://curl.haxx.se/ca/cacert.pem
2010-03-22 13:04:22 URL:http://curl.haxx.se/ca/cacert.pem [225828/225828] -> 
"cacert.pem" [1]

..confirm hash (fyi version released oct 2009 is same as of 3/22/10)
openssl dgst -sha256 cacert.pem

..try it out
wget-1.12 --ca-certificate=cacert.pem -nv 
2010-03-22 13:04:48 URL:https://www.lib.byu.edu/cgi-bin/remoteauth.pl [4158] -> 
"remoteauth.pl" [1]

good luck

reply via email to

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