curl-users
Getting curl to go all the way through proxy with digest authentication
Date: Mon, 20 Nov 2017 09:13:30 -0500
This request, which seems to be correct ends up being aborted. How do I get
it to complete the path to the server and returning the normal response?
This returns a json format response when
https://192.168.102.102/quarters/reports is pasted into Firefox with a
security exception.
I have run this curl command with digest, basic and no authentication and
get the same results.
C:\WINDOWS\system32>curl -k --digest -u admin -x https://192.168.102.102:443
https://192.168.102.102/quarters/reports -v
Enter host password for user 'admin':
* Trying 192.168.102.102...
* Connected to 192.168.102.102 (192.168.102.102) port 443 (#0)
* Establish HTTP proxy tunnel to 192.168.102.102:443
* Server auth using Digest with user 'admin'
> CONNECT 192.168.102.102:443 HTTP/1.1
> Host: 192.168.102.102:443
> User-Agent: curl/7.46.0
> Proxy-Connection: Keep-Alive
>
* Proxy CONNECT aborted
* Connection #0 to host 192.168.102.102 left intact
curl: (56) Proxy CONNECT aborted
-- [image: www.novetta.com] *James Jones* Software Engineer FBNC Email jjones2@novetta.com <http://www.novetta.com/> Office 910-243-6665
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-11-20