最終更新:2023-10-26 (木) 10:31:30 (185d)
certbot renew
Top / certbot renew
Renew all previously obtained certificates that are near expiry
動作確認
- certbot renew --dry-run?
メモ
- 80番ポートを検証に使うので空いてないとダメ
- Could not bind TCP port 80 because it is already in use by another process on this system (such as a web server). Please stop the program in question and then try again.
フック
- 引数
certbot renew --pre-hook "service nginx stop" --post-hook "service nginx start"
- ディレクトリ
PM2
- sudo certbot renew --pre-hook "pm2 stop server" --post-hook "pm2 start server" --dry-run