brew install certbot
sudo certbot certonly --manual -d <FQDN> --preferred-challenges dns
しばらくすると次のメッセージが表示されるので
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please deploy a DNS TXT record under the name
_acme-challenge.<FQDN> with the following value:
<認証ID>
Before continuing, verify the record is deployed.
Press Enter to Continue
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
表示された _acme-challenge.
(例)
txt _acme-challenge.www xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
DNSサーバーに反映された Enterキーで継続
/etc/letsencrypt/live/
(参考) MyDNS.jpのLet’s Encrypt証明書を ECDSA対応にしつつ、DNS認証を通す
certbot certonly --standalone -d www.hoge.com -m fuga@hoge.com --agree-tos -n
sudo certbot certonly --manual --domain www.hoge.com