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 http://curl.haxx.se/ca/cacert.pem 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 SHA256(cacert.pem)= 155d45fee1eba2e3c90e7c2a2e2c7af380f29157f6eebe994ace3f3f3a449527 ..try it out wget-1.12 --ca-certificate=cacert.pem -nv https://www.lib.byu.edu/cgi-bin/remoteauth.pl 2010-03-22 13:04:48 URL:https://www.lib.byu.edu/cgi-bin/remoteauth.pl [4158] -> "remoteauth.pl" [1] good luck
