You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You not need to kill any process
The Certbot Nginx plugin works by interfacing directly with Nginx to temporarily modify its configuration to serve the required challenge files. This allows Certbot to renew certificates without stopping Nginx or conflicting with its use of port 80.
Just edit your cronjob =>
0 */12 * * * root test -x /usr/bin/certbot -a ! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew --nginx
Test cron = certbot renew --nginx --dry-run
certbot fails if port 80 is already in use by another program (certbot uses this port for its temporary web server).
My suggestion is that we modify this script to kill any processes using this port before running certbot.
I am using sudo lsof -i :80 to check if any programs are using this port.
The text was updated successfully, but these errors were encountered: