-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgenerate-certs.sh
executable file
·81 lines (81 loc) · 1.8 KB
/
generate-certs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Live, public sites:
docker run --rm -it \
-v /local/data/certificates:/etc/letsencrypt -v /local/src/isaac-router/html:/var/www \
certbot/certbot certonly --webroot --webroot-path /var/www --domains \
\
isaacphysics.org,\
www.isaacphysics.org,\
plausible.isaacphysics.org,\
\
adacomputerscience.org,\
www.adacomputerscience.org,\
plausible.adacomputerscience.org,\
\
live.isaacphysics.org,\
\
beta.isaacphysics.org,\
old.isaacphysics.org,\
\
ada-cs.org,\
\
code-editor.ada-cs.org,\
\
cdn.isaacphysics.org,\
cdn.adacomputerscience.org,\
cdn.isaacscience.org,\
\
maintenance.isaacphysics.org,\
\
isaacphysics.co.uk,\
isaacphysics.com,\
\
adacomputerscience.co.uk,\
adacomputerscience.com,\
\
isaacchemistry.org,\
www.isaacchemistry.org,\
\
isaacmaths.org,\
www.isaacmaths.org,\
\
isaacbooks.org,\
www.isaacbooks.org,\
outreach.cao.cam.ac.uk,\
www.cavendish-quantum.org.uk\
\
--cert-name isaacphysics.org \
--email webmaster@isaacphysics.org \
--no-eff-email \
--agree-tos \
\
&& # Internal, development sites:
docker run --rm -it \
-v /local/data/certificates:/etc/letsencrypt -v /local/src/isaac-router/html:/var/www \
certbot/certbot certonly --webroot --webroot-path /var/www --domains \
\
dev.isaacphysics.org,\
dev.adacomputerscience.org,\
staging.isaacphysics.org,\
staging-2.isaacphysics.org,\
staging.adacomputerscience.org,\
test.isaacphysics.org,\
test.adacomputerscience.org,\
\
monitor.isaacphysics.org,\
\
tickets.isaacphysics.org,\
tickets.adacomputerscience.org,\
tickets-isaaccs.adacomputerscience.org,\
\
editor.isaacphysics.org,\
editor.adacomputerscience.org,\
editor-preview.isaacphysics.org,\
editor-preview.adacomputerscience.org,\
\
docker.isaacscience.org,\
script-dispatcher.isaacscience.org\
\
--cert-name dev.isaacphysics.org \
--email webmaster@isaacphysics.org \
--no-eff-email \
--agree-tos