現在、VirtualBoxとVagrantを用いてUbuntuの環境を構築しました。
ここで、Let's Encryptでhttps化しようと試みました。
途中で、エラー文が出てしまい調べてみると、使用しているIPアドレスがプライベートアドレスのために
実行できないことがわかりました。
そこで、アドレスをグローバルアドレスに変更したいのですが、やり方がいまいち分からず困ってます。
ドメイン名も取得し、IPアドレスとの名前解決も行ってみました。
環境構築が初めてで分からないことが多いのですが、よろしくお願いします。
環境:
Ubuntu18.04 LTS
webサーバ: Apache2.4系
VirtualBox: 5.2.18
Vagrant: 2.1.5
実行コマンド
cd letsencrypt ./letsencrypt-auto certonly --webroot -w /var/www/html -d ドメイン名
発生している問題・エラーメッセージ
./letsencrypt-auto certonly --webroot -w /var/www/html -d ドメイン名 Requesting to rerun ./letsencrypt-auto with root privileges... Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Obtaining a new certificate Performing the following challenges: http-01 challenge for ドメイン名 Using the webroot path /var/www/html for all unmatched domains. Waiting for verification... Cleaning up challenges Failed authorization procedure. ドメイン名 (http-01): urn:ietf:params:acme:error:unknownHost :: The server could not resolve a domain name :: No valid IP addresses found for ドメイン名 IMPORTANT NOTES: - The following errors were reported by the server: Domain: ドメイン名 Type: unknownHost Detail: No valid IP addresses found for ubuntu18.ml To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address.
まだ、不足している情報等あるかもしれませんがよろしくお願いします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/12/15 06:34
2018/12/15 06:47
2018/12/15 06:59
2018/12/15 07:05
2018/12/15 07:34 編集