This repository was archived by the owner on Jul 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +42
-0
lines changed Expand file tree Collapse file tree 4 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ---
3+ server {
4+ listen 80;
5+ server_name untrusted-root.{{ site.domain }};
6+
7+ return 301 https://$server_name$request_uri;
8+ }
9+
10+ server {
11+ listen 443;
12+ server_name untrusted-root.{{ site.domain }};
13+
14+ include {{ site.serving-path }}/nginx-includes/wildcard.untrusted-root.conf;
15+ include {{ site.serving-path }}/nginx-includes/tls-defaults.conf;
16+ include {{ site.serving-path }}/common/common.conf;
17+
18+ root {{ site.serving-path }}/domains/cert/untrusted-root;
19+ }
Original file line number Diff line number Diff line change 1+ ---
2+ subdomain: untrusted-root
3+ layout: page
4+ favicon: red
5+ background: red
6+ ---
7+
8+ < div id ="content ">
9+ < h1 style ="font-size: 8vw; ">
10+ {{ page.subdomain }}.< br > {{ site.domain }}
11+ </ h1 >
12+ </ div >
13+
14+ < div id ="footer ">
15+ The certificate for this site is signed using an untrusted root.
16+ </ div >
Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ <h2>Certificate:</h2>
216216 < a href ="https://expired.{{ site.domain }}/ " class ="bad "> expired</ a >
217217 < a href ="https://wrong.host.{{ site.domain }}/ " class ="bad "> wrong.host</ a >
218218 < a href ="https://self-signed.{{ site.domain }}/ " class ="bad "> self-signed</ a >
219+ < a href ="https://untrusted-root.{{ site.domain }}/ " class ="bad "> untrusted-root</ a >
219220 < hr >
220221 < a href ="https://sha1-2016.{{ site.domain }}/ " class ="dubious "> sha1-2016</ a >
221222 < a href ="https://sha1-2017.{{ site.domain }}/ " class ="bad "> sha1-2017</ a >
Original file line number Diff line number Diff line change 1+ ---
2+ ---
3+
4+ ssl on;
5+ ssl_certificate {{ site.cert-path }}/wildcard-untrusted-root.pem;
6+ ssl_certificate_key /etc/keys/leaf-main.key;
You can’t perform that action at this time.
0 commit comments