回答編集履歴
2
追記修正
test
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
(前提...)
|
2
|
+
|
3
|
+
Apache の詳細バージョンが不明ですが、Apache 2.4.8 から SSLCertificateChainFile が廃止されて証明書ファイルの指定方法が変わっていますので、 SSLCertificateFile で、中間証明書を含めたファイルを指定する必要があります。
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
[SSLCertificateFile Directive](http://httpd.apache.org/docs/current/mod/mod_ssl.html#sslcertificatefile) 参照。
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
----
|
12
|
+
|
13
|
+
|
14
|
+
|
1
15
|
> certbot certonly --webroot -w /var/www/html -d www.panda.com
|
2
16
|
|
3
17
|
|
@@ -10,11 +24,19 @@
|
|
10
24
|
|
11
25
|
|
12
26
|
|
13
|
-
が出るという状況であれば、
|
27
|
+
が出るという状況であれば、Apache 2.4.8 以降ということはないでしょうか?
|
14
28
|
|
15
29
|
|
16
30
|
|
31
|
+
その場合は、SSLCertificateFile の設定を
|
32
|
+
|
33
|
+
|
34
|
+
|
17
|
-
> SSLCertificateFile /etc/letsencrypt/live/www.
|
35
|
+
> SSLCertificateFile /etc/letsencrypt/live/www.panda.com/cert.pem
|
36
|
+
|
37
|
+
> SSLCertificateKeyFile /etc/letsencrypt/live/www.panda.com/privkey.pem
|
38
|
+
|
39
|
+
> SSLCertificateChainFile /etc/letsencrypt/live/www.panda.com/chain.pem
|
18
40
|
|
19
41
|
|
20
42
|
|
@@ -26,11 +48,15 @@
|
|
26
48
|
|
27
49
|
SSLCertificateFile /etc/letsencrypt/live/www.example.com/fullchain.pem
|
28
50
|
|
51
|
+
SSLCertificateKeyFile /etc/letsencrypt/live/www.example.com/privkey.pem
|
52
|
+
|
29
53
|
```
|
30
54
|
|
31
55
|
|
32
56
|
|
33
|
-
のように中間証明書が含まれた fullchain.pem を使うように設定
|
57
|
+
のように中間証明書が含まれた fullchain.pem を使うように設定する必要があります。
|
58
|
+
|
59
|
+
このように設定を変更してApache を再起動すると状況は変わりますか?
|
34
60
|
|
35
61
|
|
36
62
|
|
1
追記修正
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
certbot を使っていて、取得時にエラーメッセージは出ないで成功している
|
5
|
+
certbot を使っていて、取得時にエラーメッセージは出ないで成功しているのに
|
6
6
|
|
7
7
|
|
8
8
|
|