Skip to content

Instantly share code, notes, and snippets.

@joneskoo
Last active August 22, 2016 16:42
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 joneskoo/eff2607bab6c29d153b276938afc59ff to your computer and use it in GitHub Desktop.
Save joneskoo/eff2607bab6c29d153b276938afc59ff to your computer and use it in GitHub Desktop.
$ uname -v
Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64
$ wget -q https://raw.githubusercontent.com/wbond/badtls.io/master/certs/ca.crt
$ CURL_CA_BUNDLE=ca.crt curl -v https://domain-match.badtls.io:10000/
* Trying 50.116.33.29...
* Connected to domain-match.badtls.io (50.116.33.29) port 10000 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate: domain-match.badtls.io
* Server certificate: Bad TLS Limited RSA CA
> GET / HTTP/1.1
> Host: domain-match.badtls.io:10000
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx
< Date: Mon, 22 Aug 2016 16:40:47 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 524
< Last-Modified: Sat, 26 Mar 2016 06:19:58 GMT
< Connection: keep-alive
< Vary: Accept-Encoding
< ETag: "56f62a0e-20c"
< Accept-Ranges: bytes
<
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Success</title>
<style type="text/css">
body {
font-family: "Helvetica Neue", Helvetica, Arial;
background-color: #FFF;
text-align: center;
}
h1 {
margin-top: 100px;
font-size: 6.0em;
color: #66aa00;
}
</style>
</head>
<body>
<h1>Success</h1>
</body>
</html>
* Connection #0 to host domain-match.badtls.io left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment