Skip to content

Commit 5c611a8

Browse files
author
Szilárd Pfeiffer
committed
Add tls-v1-3 subdomain.
This adds tls-v1-3 on port 1013, similar to how other protocol subdomains are implemented. Also adds the test to the dashboard.
1 parent 0afed64 commit 5c611a8

File tree

5 files changed

+50
-0
lines changed

5 files changed

+50
-0
lines changed

domains/misc/badssl.com/dashboard/sets.js

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ var sets = [
8686
fail: "no",
8787
subdomains: [
8888
{subdomain: "tls-v1-2", port: 1012},
89+
{subdomain: "tls-v1-3", port: 1013},
8990
{subdomain: "sha256"},
9091
{subdomain: "rsa2048"},
9192
{subdomain: "ecc256"},

domains/misc/badssl.com/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ <h2 id="protocol"><span class="emoji">↔️</span>Protocol</h2>
116116
<a href="https://tls-v1-0.{{ site.domain }}:1010/" class="dubious"><span class="icon"></span>tls-v1-0</a>
117117
<a href="https://tls-v1-1.{{ site.domain }}:1011/" class="dubious"><span class="icon"></span>tls-v1-1</a>
118118
<a href="https://tls-v1-2.{{ site.domain }}:1012/" class="good"><span class="icon"></span>tls-v1-2</a>
119+
<a href="https://tls-v1-3.{{ site.domain }}:1013/" class="good"><span class="icon"></span>tls-v1-3</a>
119120
</div>
120121
<div class="group">
121122
<h2 id="certificate-transparency"><span class="emoji">🔍</span>Certificate Transparency</h2>

domains/protocol/tls-v1-3.conf

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
---
3+
server {
4+
listen 80;
5+
server_name tls-v1-3.{{ site.domain }};
6+
7+
return 301 https://$server_name:1013$request_uri;
8+
}
9+
10+
server {
11+
listen 443;
12+
server_name tls-v1-3.{{ site.domain }};
13+
14+
include {{ site.serving-path }}/nginx-includes/wildcard-normal.conf;
15+
include {{ site.serving-path }}/nginx-includes/tls-defaults.conf;
16+
17+
return 301 https://$server_name:1013$request_uri;
18+
}
19+
20+
server {
21+
listen 1013;
22+
server_name tls-v1-3.{{ site.domain }};
23+
24+
include {{ site.serving-path }}/nginx-includes/wildcard-normal.conf;
25+
include {{ site.serving-path }}/nginx-includes/tls-v1-3.conf;
26+
include {{ site.serving-path }}/common/common.conf;
27+
28+
root {{ site.serving-path }}/domains/protocol/tls-v1-3;
29+
}

domains/protocol/tls-v1-3/index.html

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
subdomain: tls-v1-3
3+
layout: page
4+
favicon: green
5+
background: green
6+
---
7+
8+
<div id="content">
9+
<h1 style="font-size: 12vw;">
10+
{{ page.subdomain }}.<br>{{ site.domain }}
11+
</h1>
12+
</div>

nginx-includes/tls-v1-3.conf

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
---
3+
4+
ssl_session_timeout 5m;
5+
6+
ssl_protocols TLSv1.3;
7+
ssl_ciphers 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256';

0 commit comments

Comments
 (0)