Skip to content

Instantly share code, notes, and snippets.

@mandarjog
Created March 22, 2019 05:27
Show Gist options
  • Save mandarjog/d83e8e1f2dc8cf8a085dd4c291c81034 to your computer and use it in GitHub Desktop.
Save mandarjog/d83e8e1f2dc8cf8a085dd4c291c81034 to your computer and use it in GitHub Desktop.
Espn actively redirecting to non https site
```
$ curl -v https://www.espn.com
* Rebuilt URL to: https://www.espn.com/
* Trying 52.33.100.133...
* TCP_NODELAY set
* Connected to www.espn.com (52.33.100.133) 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):
* TLSv1.2 (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, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* 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: C=US; ST=Washington; L=Seattle; O=Disney Enterprises, Inc; CN=www.espn.com
* start date: Mar 19 16:37:25 2019 GMT
* expire date: Mar 12 17:07:24 2020 GMT
* subjectAltName: host "www.espn.com" matched cert's "www.espn.com"
* issuer: C=US; O=Entrust, Inc.; OU=See www.entrust.net/legal-terms; OU=(c) 2012 Entrust, Inc. - for authorized use only; CN=Entrust Certification Authority - L1K
* 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 0x7fa655808800)
> GET / HTTP/2
> Host: www.espn.com
> User-Agent: curl/7.54.0
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 302
< date: Fri, 22 Mar 2019 05:17:17 GMT
< content-type: text/html
< content-length: 0
< location: http://www.espn.com/?redirected=true
< via: 1.1 varnish-v4
< set-cookie: country=us; path=/;
< set-cookie: edition-view=espn-en-us; path=/; Expires=Fri, 29 Mar 2019 05:17:18 GMT;
< set-cookie: connectionspeed=full; path=/; Expires=Fri, 29 Mar 2019 05:17:18 GMT;
< set-cookie: edition=espn-en-us; path=/; Expires=Fri, 29 Mar 2019 05:17:18 GMT;
< set-cookie: SWID=E74F20FB-ED6A-415E-C1AE-C9DCE862B8AE; path=/; Expires=Tue, 22 Mar 2039 05:17:18 GMT; domain=espn.com;
< cache-control: max-age=0, must-revalidate
<
* Connection #0 to host www.espn.com left intact
`````
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment