-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add expired-ocsp.badssl.com subdomain
This subdomain sends an expired stapled OCSP response, which triggers an SSL error in Firefox (and soon in Chrome as well). The OCSP response, certs/wildcard.expired-ocsp.der, was generated by running: openssl ocsp -issuer certs/wildcard.issuer.pem -cert certs/wildcard.normal.pem -url http://ocsp.comodoca.com -noverify -respout certs/wildcard.expired-ocsp.der where certs/wildcard.issuer.pem contains the certificate that issued certs/wildcard.normal.pem (i.e. the first intermediate certificate in the chain). http://ocsp.comodoca.com was taken from the OCSP field as output by `openssl x509 -in certs/wildcard.normal.pem -noout -text`. certs/wildcard.expired-ocsp.der will need to be regenerated whenever wildcard.normal.pem is reissued. Note that, at the time of this commit, certs/wildcard.expired-ocsp.der is not yet expired, but will expire on Jun 8, 2015 at 09:38:45 UTC.
- Loading branch information
Showing
5 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
server { | ||
listen 80; | ||
server_name expired-ocsp.badssl.com; | ||
|
||
return 301 https://$server_name$request_uri; | ||
} | ||
|
||
server { | ||
listen 443; | ||
server_name expired-ocsp.badssl.com; | ||
|
||
include /var/www/badssl/nginx-includes/wildcard.normal.conf; | ||
include /var/www/badssl/nginx-includes/tls-defaults.conf; | ||
include /var/www/badssl/common/common.conf; | ||
|
||
ssl_stapling on; | ||
ssl_stapling_file /var/www/badssl/certs/wildcard.expired-ocsp.der; | ||
|
||
root /var/www/badssl/domains/misc/expired-ocsp.badssl.com; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>expired-ocsp.badssl.com</title> | ||
<link rel="shortcut icon" href="/icons/favicon-orange.ico"/> | ||
<link rel="apple-touch-icon" href="/icon-orange.png"/> | ||
<style> | ||
html, body { | ||
background: rgb(243, 121, 46); | ||
|
||
margin: 0; | ||
padding: 0; | ||
|
||
height: 100%; | ||
display: -webkit-flexbox; | ||
display: -ms-flexbox; | ||
display: -webkit-flex; | ||
display: flex; | ||
-webkit-align-items: center; | ||
align-items: center; | ||
-webkit-justify-content: center; | ||
justify-content: center; | ||
} | ||
h1 { | ||
color: white; | ||
text-align: center; | ||
font-family: "Source Code Pro", Monaco, Consolas, "Courier New", monospace, Impact; | ||
font-size: 5em; | ||
font-size: 8vw; | ||
text-shadow: | ||
0 0 20px rgba(255, 255, 255, 0.5), | ||
0 0 40px rgba(255, 255, 255, 0.5), | ||
0 0 60px rgba(255, 255, 255, 0.5); | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>expired-ocsp.<br>badssl.com</h1> | ||
</body> | ||
</html> |