Contents
1. whois
nginx を一時停止のあと、UFW でポート80を開ける。
# ufw allow from any to any port 80 Rule added Rule added (v6)
root@tokyo:/home/tmaeno# ufw status
Status: active To Action From -- ------ ---- 322 ALLOW 153.126.187.246 322 ALLOW 39.110.135.12 22 ALLOW 39.110.135.12 443 ALLOW Anywhere 53 ALLOW Anywhere 8080/tcp ALLOW 39.110.135.12 25 ALLOW Anywhere Anywhere DENY 46.29.163.19 Anywhere DENY 2.56.240.179 80 ALLOW Anywhere 80 (v6) ALLOW Anywhere (v6)
# certbot certonly --standalone -d moin.qmail.jp Saving debug log to /var/log/letsencrypt/letsencrypt.log Requesting a certificate for moin.qmail.jp Successfully received certificate. Certificate is saved at: /etc/letsencrypt/live/moin.qmail.jp/fullchain.pem Key is saved at: /etc/letsencrypt/live/moin.qmail.jp/privkey.pem This certificate expires on 2022-12-14. These files will be updated when the certificate renews. Certbot has set up a scheduled task to automatically renew this certificate in the background. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If you like Certbot, please consider supporting our work by: * Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate * Donating to EFF: https://eff.org/donate-le - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - root@tokyo:/home/tmaeno# systemctl start nginx