kusanagi-8.0.2-2を使用していますが、
kusanagi update cert ★★★.net
で、新しいドメイン(★★★.net)のSSL用証明書等の設定をしているのですが
うまくいきません。
(すでに ★★★.net用のプロビジョニングは完了しており、/home/kusanagi/★★★.net/DocumentRoot は存在しています)
vi /var/log/letsencrypt/letsencrypt.log でログを確認すると
291 FailedChallenges: Failed authorization procedure. ★★★.net (http-01): u rn:acme:error:unauthorized :: The client lacks sufficient authorization :: I nvalid response from http://★★★.net/.well-known/acme-challenge/kPU1SqF xwsL94CjxgnulGJmySmdlkLII2vyt8tWfqeg: "<html>^M
292 <head><title>404 Not Found</title></head>^M
293 <body bgcolor="white">^M
294 <center><h1>404 Not Found</h1></center>^M
295 <hr><center>"
となっていました。
http://★★★.net →アクセスが可能なことは確認済みです。
試しに/home/kusanagi/★★★.net/DocumentRoot/.well-known/test.html
をおいて 、http://★★★.net/.well-known/test.htmlにアクセスしたところ
アクセスできています。
vi ★★★.net_http.conf をしたところ
34 location ~* /.well-known {
35 allow all;
36 }
37
38 location / {
39 try_files $uri $uri/ /index.php?$args;
40 }
41
があることは確認しています。
なお、他のドメイン ●●◯.net等はSSLで見れるように設定が完了しています。
回答1件
あなたの回答
tips
プレビュー