Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Trying to get to the bottom of why the https://cards-dev.twitter.com/validator
# shows:
#
# ERROR: Fetching the page failed because SSL handshake error.
#
#
# curl -sv https://beyourself.crohnsandcolitis.org.uk/cards/beyourself/ -o /dev/null
* Trying 52.56.84.0...
* TCP_NODELAY set
* Connected to beyourself.crohnsandcolitis.org.uk (52.56.84.0) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [98 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2510 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [365 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [102 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=beyourself.crohnsandcolitis.org.uk
* start date: Nov 29 11:36:12 2017 GMT
* expire date: Feb 27 11:36:12 2018 GMT
* subjectAltName: host "beyourself.crohnsandcolitis.org.uk" matched cert's "beyourself.crohnsandcolitis.org.uk"
* issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
* 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 0x7fbf59803000)
> GET /cards/beyourself/ HTTP/2
> Host: beyourself.crohnsandcolitis.org.uk
> User-Agent: curl/7.54.0
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 200
< server: nginx/1.10.3 (Ubuntu)
< date: Mon, 04 Dec 2017 19:48:31 GMT
< content-type: text/html
< content-length: 5770
< last-modified: Mon, 04 Dec 2017 05:10:24 GMT
< etag: "5a24d8c0-168a"
< expires: Mon, 04 Dec 2017 19:53:31 GMT
< cache-control: max-age=300
< cache-control: must-revalidate, proxy-revalidate
< accept-ranges: bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment