Skip to content

Instantly share code, notes, and snippets.

@merj
Created April 9, 2018 10:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save merj/e55847341e222d9532d48acb31023450 to your computer and use it in GitHub Desktop.
Save merj/e55847341e222d9532d48acb31023450 to your computer and use it in GitHub Desktop.
cURL response with no TLS v1.0 support
$ curl https://merj.com --tlsv1.0 --verbose
* Rebuilt URL to: https://merj.com/
* Trying 45.63.96.124...
* TCP_NODELAY set
* Connected to merj.com (45.63.96.124) 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.0 (OUT), TLS handshake, Client hello (1):
* TLSv1.0 (IN), TLS alert, Server hello (2):
* error:1400442E:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert protocol version
* stopped the pause stream!
* Closing connection 0
curl: (35) error:1400442E:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert protocol version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment