Skip to content

Instantly share code, notes, and snippets.

@merj
Created April 9, 2018 10:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save merj/d5b9708c430020f0bf4aadda455e3238 to your computer and use it in GitHub Desktop.
Save merj/d5b9708c430020f0bf4aadda455e3238 to your computer and use it in GitHub Desktop.
cURL response with TLS v1.0 support
winny$ curl https://www.google.co.uk --tlsv1.0 --verbose
* Rebuilt URL to: https://www.google.co.uk/
* Trying 216.58.206.131...
* TCP_NODELAY set
* Connected to www.google.co.uk (216.58.206.131) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.0 (OUT), TLS handshake, Client hello (1):
* TLSv1.0 (IN), TLS handshake, Server hello (2):
* TLSv1.0 (IN), TLS handshake, Certificate (11):
* TLSv1.0 (IN), TLS handshake, Server key exchange (12):
* TLSv1.0 (IN), TLS handshake, Server finished (14):
* TLSv1.0 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.0 (OUT), TLS change cipher, Client hello (1):
* TLSv1.0 (OUT), TLS handshake, Finished (20):
* TLSv1.0 (IN), TLS change cipher, Client hello (1):
* TLSv1.0 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.0 / ECDHE-RSA-AES128-SHA
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google Inc; CN=www.google.co.uk
* start date: Mar 20 18:14:50 2018 GMT
* expire date: Jun 12 16:56:00 2018 GMT
* subjectAltName: host "www.google.co.uk" matched cert's "www.google.co.uk"
* issuer: C=US; O=Google Trust Services; CN=Google Internet Authority G3
* SSL certificate verify ok.
* 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 0x1932f38fc000)
> GET / HTTP/2
> Host: www.google.co.uk
> User-Agent: curl/7.59.0
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment