The following command with -no-check-certificate works in wget 1.10.2 but fails in 1.11.4 on Win7. wget -t 3 --http-user=admin --http-passwd=password --no-check-certificate https://192.168.1.51/admin/backups/latest
Has the syntax changed in 1.11.4 for the ability to ignore self signed certificate errors? Sample output from wget 1.10.2 and wget 1.11.4 shown below. c:\Program Files (x86)\GnuWin32\bin>wget -t 3 --http-user=admin --http-passwd=password --no-check-certificate https://192.168.1.51/admin/backups/latest SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrcsyswgetrc = c:\Program Files (x86)\GnuWin32/etc/wgetrc --2016-02-19 10:05:51-- https://192.168.1.51/admin/backups/latest Connecting to 192.168.1.51:443... connected. WARNING: cannot verify 192.168.1.51's certificate, issued by `/C=US/ST=North Car olina/L=Raleigh/O=Computer, Inc/OU=Power IQ/CN=localhost.localdomin/emai [email protected]': Self-signed certificate encountered. WARNING: certificate common name `localhost.localdomin' doesn't match requested host name `192.168.1.51'. HTTP request sent, awaiting response... 302 Found Location: https://192.168.1.51/login/login [following] --2016-02-19 10:05:51-- https://192.168.1.51/login/login Connecting to 192.168.1.51:443... connected. WARNING: cannot verify 192.168.1.51's certificate, issued by `/C=US/ST=North Car olina/L=Raleigh/O=Computer, Inc/OU=Power IQ/CN=localhost.localdomin/emai [email protected]': Self-signed certificate encountered. WARNING: certificate common name `localhost.localdomin' doesn't match requested host name `192.168.1.51'. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `login.3' [ <=> ] 2,191 --.-K/s in 0s 2016-02-19 10:05:51 (10.5 MB/s) - `login.3' saved [2191] c:\Program Files (x86)\GnuWin32\bin>wget-1.10.2.exe -t 3 --http-user=admin --http-passwd=password --no-check-certificate https://192.168.1.51/admin/backups/latest --10:06:04-- https://192.168.1.51/admin/backups/latest => `latest' Connecting to 192.168.1.51:443... connected. WARNING: Certificate verification error for 192.168.1.51: self signed certificate WARNING: certificate common name `localhost.localdomin' doesn't match requested host name `192.168.1.51'. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/octet-stream] [ <=> ] 324,320,000 15.75M/s ^ C c:\Program Files (x86)\GnuWin32\bin> Regards, Tim Paulson DCIM Field Service Engineer Sunbird Software * 200 Cottontail Lane * Somerset, NJ 08873 USA Office/Cell: 1.605.609.7600 [email protected]<mailto:[email protected]> * www.SunbirdDCIM.com<http://www.sunbirddcim.com/>
