回答編集履歴
2
補足
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
2.1.証明書を作成する
|
30
30
|
|
31
|
-
****.**は自分のドメイン
|
31
|
+
******.**は自分のドメイン
|
32
32
|
|
33
33
|
```
|
34
34
|
|
1
補足
test
CHANGED
@@ -28,23 +28,25 @@
|
|
28
28
|
|
29
29
|
2.1.証明書を作成する
|
30
30
|
|
31
|
+
****.**は自分のドメイン
|
32
|
+
|
31
33
|
```
|
32
34
|
|
33
35
|
sudo apt-get install letsencrypt
|
34
36
|
|
35
37
|
sudo service apache2 stop
|
36
38
|
|
37
|
-
sudo letsencrypt certonly --standalone -d
|
39
|
+
sudo letsencrypt certonly --standalone -d ****.**
|
38
40
|
|
39
41
|
IMPORTANT NOTES:
|
40
42
|
|
41
43
|
- Congratulations! Your certificate and chain have been saved at:
|
42
44
|
|
43
|
-
/etc/letsencrypt/live/
|
45
|
+
/etc/letsencrypt/live/****.**/fullchain.pem
|
44
46
|
|
45
47
|
Your key file has been saved at:
|
46
48
|
|
47
|
-
/etc/letsencrypt/live/
|
49
|
+
/etc/letsencrypt/live/****.**/privkey.pem
|
48
50
|
|
49
51
|
Your cert will expire on 2020-08-25. To obtain a new or tweaked
|
50
52
|
|
@@ -90,11 +92,11 @@
|
|
90
92
|
|
91
93
|
SSL証明書関連は、下記のように記述。
|
92
94
|
|
93
|
-
SSLCertificateFile /etc/letsencrypt/live/
|
95
|
+
SSLCertificateFile /etc/letsencrypt/live/****.**/fullchain.pem
|
94
|
-
|
96
|
+
|
95
|
-
SSLCertificateKeyFile /etc/letsencrypt/live/
|
97
|
+
SSLCertificateKeyFile /etc/letsencrypt/live/****.**/privkey.pem
|
96
|
-
|
98
|
+
|
97
|
-
SSLCertificateChainFile /etc/letsencrypt/live/
|
99
|
+
SSLCertificateChainFile /etc/letsencrypt/live/****.**/fullchain.pem
|
98
100
|
|
99
101
|
```
|
100
102
|
|
@@ -206,9 +208,9 @@
|
|
206
208
|
|
207
209
|
##SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
|
208
210
|
|
209
|
-
SSLCertificateFile /etc/letsencrypt/live/
|
211
|
+
SSLCertificateFile /etc/letsencrypt/live/****.**/fullchain.pem
|
210
|
-
|
212
|
+
|
211
|
-
SSLCertificateKeyFile /etc/letsencrypt/live/
|
213
|
+
SSLCertificateKeyFile /etc/letsencrypt/live/****.**/privkey.pem
|
212
214
|
|
213
215
|
|
214
216
|
|
@@ -228,7 +230,7 @@
|
|
228
230
|
|
229
231
|
#SSLCertificateChainFile /etc/apache2/ssl.crt/server-ca.crt
|
230
232
|
|
231
|
-
SSLCertificateChainFile /etc/letsencrypt/live/
|
233
|
+
SSLCertificateChainFile /etc/letsencrypt/live/****.**/fullchain.pem
|
232
234
|
|
233
235
|
|
234
236
|
|