Created
November 20, 2018 09:30
-
-
Save tarnacious/c1c85813a48a1875090f0250502d879d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -v https://www.example.com -k --proxy debugproxy.com:8080 | |
* Trying 2a01:4f8:120:6104::2... | |
* TCP_NODELAY set | |
* connect to 2a01:4f8:120:6104::2 port 8080 failed: Connection refused | |
* Trying 178.63.44.71... | |
* TCP_NODELAY set | |
* Connected to debugproxy.com (178.63.44.71) port 8080 (#0) | |
* allocate connect buffer! | |
* Establish HTTP proxy tunnel to www.example.com:443 | |
> CONNECT www.example.com:443 HTTP/1.1 | |
> Host: www.example.com:443 | |
> User-Agent: curl/7.62.0 | |
> Proxy-Connection: Keep-Alive | |
> | |
< HTTP/1.1 200 Connection established | |
< | |
* Proxy replied 200 to CONNECT request | |
* CONNECT phase completed! | |
* ALPN, offering h2 | |
* ALPN, offering http/1.1 | |
* successfully set certificate verify locations: | |
* CAfile: /etc/ssl/certs/ca-certificates.crt | |
CApath: none | |
* TLSv1.3 (OUT), TLS handshake, Client hello (1): | |
* CONNECT phase completed! | |
* CONNECT phase completed! | |
* TLSv1.3 (IN), TLS handshake, Server hello (2): | |
* TLSv1.2 (IN), TLS handshake, Certificate (11): | |
* TLSv1.2 (IN), TLS handshake, Server key exchange (12): | |
* TLSv1.2 (IN), TLS handshake, Server finished (14): | |
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16): | |
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1): | |
* TLSv1.2 (OUT), TLS handshake, Finished (20): | |
* TLSv1.2 (IN), TLS handshake, Finished (20): | |
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 | |
* ALPN, server accepted to use h2 | |
* Server certificate: | |
* subject: CN=www.example.org | |
* start date: Nov 18 09:28:05 2018 GMT | |
* expire date: Nov 19 09:28:05 2021 GMT | |
* issuer: CN=debugproxy; O=debugproxy | |
* SSL certificate verify result: self signed certificate in certificate chain (19), continuing anyway. | |
* Using HTTP2, server supports multi-use | |
* Connection state changed (HTTP/2 confirmed) | |
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 | |
* Using Stream ID: 1 (easy handle 0x555835584f60) | |
> GET / HTTP/2 | |
> Host: www.example.com | |
> User-Agent: curl/7.62.0 | |
> Accept: */* | |
> | |
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)! | |
< HTTP/2 407 | |
< content-type: text/html | |
< proxy-authenticate: BASIC | |
< content-length: 28 | |
< | |
* Connection #0 to host debugproxy.com left intact |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment