wget-dev
[Top][All Lists]
Advanced

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

Re: [Wget-dev] wget2 | Can't authenticate via HTTP (#388)


From: Vlad
Subject: Re: [Wget-dev] wget2 | Can't authenticate via HTTP (#388)
Date: Tue, 19 Jun 2018 14:13:28 +0000

Yup, here you go (hoping I deleted everything identifiable :P )


`➔ wget2 "mydomain.com" --no-check-certificate --user=myuser --ask-password 
--user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36" 
--debug
19.145651.731 name=check-certificate value=--user=myuser invert=1
19.145651.732 name=user value=myuser invert=0
19.145651.732 name=ask-password value=--user-agent=Mozilla/5.0 (Macintosh; 
Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/66.0.3359.139 Safari/537.36 invert=0
19.145651.732 name=user-agent value=Mozilla/5.0 (Macintosh; Intel Mac OS X 
10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 
Safari/537.36 invert=0
19.145651.732 name=debug value=mydomain.com invert=0
19.145651.732 Local URI encoding = 'UTF-8'
19.145651.732 Input URI encoding = 'UTF-8'
19.145651.732 Fetched HSTS data from '/Users/myuser/.wget-hsts'
19.145651.732 Fetched HPKP data from '/Users/myuser/.wget-hpkp'
19.145651.733 Fetched OCSP hosts from '/Users/myuser/.wget-ocsp_hosts'
19.145651.733 Fetched OCSP fingerprints from '/Users/myuser/.wget-ocsp'
Password for user "myuser":
19.145700.004 set_exit_status(0)
19.145700.004 *url = mydomain.com
19.145700.004 local filename = 'index.html'
19.145700.004 host_add_job: job fname index.html
19.145700.004 host_add_job: 0x7fad49c07390 http://mydomain.com
19.145700.004 host_add_job: qsize 1 host-qsize=1
19.145700.004 queue_size: qsize=1
19.145700.004 queue_size: qsize=1
19.145700.005 queue_size: qsize=1
19.145700.005 [0] action=1 pending=0 host=0x0
19.145700.005 dequeue job http://mydomain.com
19.145700.005 resolving mydomain.com:80...
19.145700.013 has 172.17.133.115:80
19.145700.013 trying 172.17.133.115:80...
19.145700.013 established connection mydomain.com
[0] Downloading 'http://mydomain.com' ...
19.145700.013 cookie_create_request_header for host=mydomain.com path=(null)
19.145700.014 # sent 320 bytes:
GET / HTTP/1.1
Host: mydomain.com
Accept-Encoding: gzip, deflate, bzip2, xz, lzma
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 
(KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
Connection: keep-alive

19.145700.014 [0] action=2 pending=1 host=0x7fad49c07210
19.145700.014 ### req 0x7fad49d1bd10 pending requests = 1
19.145700.287 # got header 206 bytes:
HTTP/1.1 301 Moved Permanently
Date: Tue, 19 Jun 2018 13:57:00 GMT
Server: Server
Location: https://mydomain.com:443/
Content-Length: 234
nnCoection: close
Content-Type: text/html; charset=iso-8859-1

19.145700.288 Falling back to Content-Encoding 'identity'
19.145700.288 method 2
HTTP response 301 Moved Permanently [http://mydomain.com]
19.145700.288 keep_alive=0
19.145700.288 closing connection
19.145700.288 *url = https://mydomain.com:443/
19.145700.288 *3 https://mydomain.com:443/
Adding URL: https://mydomain.com:443/
19.145700.288 host_add_job: job fname index.html
19.145700.288 host_add_job: 0x7fad49e018b0 https://mydomain.com:443/
19.145700.288 host_add_job: qsize 2 host-qsize=1
19.145700.289 _host_remove_job: 0x7fad49c07390
19.145700.289 host_remove_job: qsize=1 host->qsize=0
19.145700.289 [0] action=1 pending=0 host=0x7fad49c07210
19.145700.289 [0] action=1 pending=0 host=0x0
19.145700.289 dequeue job https://mydomain.com:443/
19.145700.289 resolving mydomain.com:443...
19.145700.289 main: wake up
19.145700.289 queue_size: qsize=1
19.145700.290 has 172.17.133.115:443
19.145700.290 trying 172.17.133.115:443...
19.145700.290 GnuTLS init
19.145700.290 Certificates loaded: -1
19.145700.291 GnuTLS init done
19.145700.291 TLS False Start requested
WARNING: The certificate is NOT trusted. The certificate issuer is unknown. The 
certificate chain uses insecure algorithm.
19.145700.712 TLS False Start: off
----
Certificate info [0]:
  Valid since: Thu Oct  5 17:00:47 2017
  Expires: Fri Oct  5 17:00:47 2018
  Fingerprint: FAKE
  Serial number: FAKE
  Public key: RSA, Low (1024 bits)
  Version: #3
  DN: C=US,ST=Washington,L=Seattle,O=mydomain.com Inc.,CN=mydomain.com
  Issuer's DN: DC=com,DC=mydomain,DC=ant,CN=mydomain.com InfoSec CA G3
  Issuer's OID: FAKE
  Issuer's UID: FAKE
----
Key Exchange: RSA
Protocol: TLS1.0
Certificate Type: X.509
Cipher: AES-128-CBC
MAC: SHA1
----
19.145700.712 Handshake completed
19.145700.712 established connection mydomain.com
[0] Downloading 'https://mydomain.com:443/' ...
19.145700.712 cookie_create_request_header for host=mydomain.com path=
19.145700.712 # sent 320 bytes:
GET / HTTP/1.1
Host: mydomain.com
Accept-Encoding: gzip, deflate, bzip2, xz, lzma
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 
(KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
Connection: keep-alive

19.145700.712 [0] action=2 pending=1 host=0x7fad49e01720
19.145700.712 ### req 0x7fad49d1bc50 pending requests = 1
19.145700.850 # got header 245 bytes:
HTTP/1.1 401 Unauthorized
Date: Tue, 19 Jun 2018 13:57:00 GMT
Server: Server
WWW-Authenticate: Negotiate
WWW-Authenticate: Basic realm="ANT (Windows) Login"
Content-Length: 381
Cneonction: close
Content-Type: text/html; charset=iso-8859-1

19.145700.850 Falling back to Content-Encoding 'identity'
19.145700.850 method 2
HTTP ERROR response 401 Unauthorized [https://mydomain.com:443/]
19.145700.850 keep_alive=0
19.145700.850 closing connection
19.145700.850 [0] action=1 pending=0 host=0x7fad49e01720
19.145700.850 dequeue job https://mydomain.com:443/
19.145700.850 Found dns cache entry mydomain.com:443
19.145700.850 main: wake up
19.145700.850 trying 172.17.133.115:443...
19.145700.851 queue_size: qsize=1
19.145700.851 TLS False Start requested
WARNING: The certificate is NOT trusted. The certificate issuer is unknown. The 
certificate chain uses insecure algorithm.
19.145701.270 TLS False Start: off
----
Certificate info [0]:
  Valid since: Thu Oct  5 17:00:47 2017
  Expires: Fri Oct  5 17:00:47 2018
  Fingerprint: FAKE
  Serial number: FAKE
  Public key: RSA, Low (1024 bits)
  Version: #3
  DN: C=US,ST=Washington,L=Seattle,O=mydomain.com Inc.,CN=mydomain.com
  Issuer's DN: DC=com,DC=mydomain,DC=ant,CN=mydomain.com InfoSec CA G3
  Issuer's OID: FAKE
  Issuer's UID: FAKE
----
Key Exchange: RSA
Protocol: TLS1.0
Certificate Type: X.509
Cipher: AES-128-CBC
MAC: SHA1
----
19.145701.270 Handshake completed
19.145701.270 established connection mydomain.com
[0] Downloading 'https://mydomain.com:443/' ...
19.145701.270 cookie_create_request_header for host=mydomain.com path=
19.145701.271 # sent 320 bytes:
GET / HTTP/1.1
Host: mydomain.com
Accept-Encoding: gzip, deflate, bzip2, xz, lzma
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 
(KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
Connection: keep-alive

19.145701.271 [0] action=2 pending=1 host=0x7fad49e01720
19.145701.271 ### req 0x7fad49d1bc80 pending requests = 1
19.145701.407 # got header 245 bytes:
HTTP/1.1 401 Unauthorized
Date: Tue, 19 Jun 2018 13:57:01 GMT
Server: Server
WWW-Authenticate: Negotiate
WWW-Authenticate: Basic realm="ANT (Windows) Login"
Content-Length: 381
Cneonction: close
Content-Type: text/html; charset=iso-8859-1

19.145701.407 Falling back to Content-Encoding 'identity'
19.145701.407 method 2
HTTP ERROR response 401 Unauthorized [https://mydomain.com:443/]
19.145701.407 keep_alive=0
19.145701.407 closing connection
19.145701.407 set_exit_status(6)
19.145701.407 _host_remove_job: 0x7fad49e018b0
19.145701.407 host_remove_job: qsize=0 host->qsize=0
19.145701.407 [0] action=1 pending=0 host=0x7fad49e01720
19.145701.407 [0] action=1 pending=0 host=0x0
19.145701.407 main: wake up
19.145701.407 main: done
19.145701.409 Successfully updated '/Users/myuser/.wget-ocsp_hosts'.
19.145701.409 Saved OCSP hosts to '/Users/myuser/.wget-ocsp_hosts'
19.145701.409 Successfully updated '/Users/myuser/.wget-ocsp'.
19.145701.409 Saved OCSP fingerprints to '/Users/myuser/.wget-ocsp'
19.145701.409 blacklist http://mydomain.com
19.145701.409 blacklist https://mydomain.com:443/`

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/issues/388#note_82634533
You're receiving this email because of your account on gitlab.com.


reply via email to

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