前提・実現したいこと
ネコでもわかる!さくらのVPS講座 ~第六回「無料SSL証明書 Let’s Encryptを導入しよう」
https://knowledge.sakura.ad.jp/10534/
のマニュアルに従って、sakuraのvpsにLet’s Encryptを導入作業しています。
発生している問題・エラーメッセージ
上記マニュアル中ほどの「# certbot --apache -d example.com(自分のドメイン)」
を実行すると下記エラーが出ます。
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for 自分のドメイン
Cleaning up challenges
Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.
何かしらport 80 辺りに問題があるみたいですが、解決方法がわからず、このエラーから
進みません。
ご教授頂きたく宜しくお願い致します。
※ 下記みると、port 80は開いているようにみえるのですが、、、よくわかりません。
[root@xxxxxx sysconfig]# firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: eth0
sources:
services: dhcpv6-client ssh http https
ports: 80/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
※ 下記の様に同じエラーを経験している方もいるようです。
CHERRYさんの追記依頼は下記つくりかけのサイトに記載しました。
※よくわからないので、もし外部に表示してはいけないログ情報があれば、お教えください。
https://salvete.net/work/
回答1件
あなたの回答
tips
プレビュー