Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit 5236ca6

Browse files
committed
Add title to web-payment input page.
1 parent de0ae92 commit 5236ca6

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

certs/Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ $(O)/gen/csr/ca-intermediate.csr: src/conf/ca-intermediate.conf $(O)/gen/key/ca-
6060
$(O)/gen/crt/ca-intermediate.crt: src/conf/ca-intermediate.conf $(O)/gen/csr/ca-intermediate.csr $(O)/gen/key/ca-root.key $(O)/gen/crt/ca-root.crt
6161
./tool sign $@ $(D) $(SIGN_CA_DEFAULTS) $^
6262

63+
################################
64+
$(O)/gen/key/ca-sha1-intermediate.key:
65+
./tool gen-key $@ $(D) 4096
66+
$(O)/gen/csr/ca-sha1-intermediate.csr: src/conf/ca-intermediate.conf $(O)/gen/key/ca-sha1-intermediate.key
67+
./tool gen-csr $@ $(D) $^
68+
$(O)/gen/crt/ca-sha1-intermediate.crt: src/conf/ca-intermediate.conf $(O)/gen/csr/ca-sha1-intermediate.csr $(O)/gen/key/ca-root.key $(O)/gen/crt/ca-root.crt
69+
./tool sign $@ $(D) 3650 sha1 req_v3_ca $^
70+
6371
################################
6472
$(O)/gen/key/leaf-main.key: $(O)/gen/key/leaf-$(MAIN_CERT_TYPE).key
6573
cp $< $@
@@ -98,6 +106,13 @@ CHAINS_PROD += $(O)/gen/chain/wildcard-sha1-2017.pem
98106
$(O)/gen/chain/wildcard-sha1-2017.pem: $(O)/gen/crt/wildcard-sha1-2017.crt $(O)/gen/crt/ca-intermediate.crt
99107
./tool chain $@ $(D) $^
100108

109+
################################
110+
$(O)/gen/crt/wildcard-sha1-intermediate.crt: src/conf/wildcard.conf $(O)/gen/csr/wildcard-main.csr $(O)/gen/key/ca-sha1-intermediate.key $(O)/gen/crt/ca-sha1-intermediate.crt
111+
./tool sign $@ $(D) $(SIGN_LEAF_DEFAULTS) $^
112+
CHAINS_PROD += $(O)/gen/chain/wildcard-sha1-intermediate.pem
113+
$(O)/gen/chain/wildcard-sha1-intermediate.pem: $(O)/gen/crt/wildcard-sha1-intermediate.crt $(O)/gen/crt/ca-sha1-intermediate.crt
114+
./tool chain $@ $(D) $^
115+
101116
################################
102117
$(O)/gen/crt/wildcard-md5.crt: src/conf/wildcard.conf $(O)/gen/csr/wildcard-main.csr $(O)/gen/key/ca-intermediate.key $(O)/gen/crt/ca-intermediate.crt
103118
./tool sign $@ $(D) $(DAYS_DEFAULT) md5 req_v3_usr $^
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
---
3+
server {
4+
listen 80;
5+
server_name sha1-intermediate.{{ site.domain }};
6+
7+
return 301 https://$server_name$request_uri;
8+
}
9+
10+
server {
11+
listen 443;
12+
server_name sha1-intermediate.{{ site.domain }};
13+
14+
include {{ site.serving-path }}/nginx-includes/wildcard-sha1-intermediate.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/sha1-intermediate;
19+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
subdomain: sha1-interemediate
3+
layout: page
4+
favicon: yellow
5+
background: rgb(246, 207, 47)
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 intermediate issuer certificate for this site is signed using SHA-1.
16+
</div>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
---
3+
4+
ssl on;
5+
ssl_certificate {{ site.cert-path }}/wildcard-sha1-intermediate.pem;
6+
ssl_certificate_key /etc/keys/leaf-main.key;

0 commit comments

Comments
 (0)