Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line not found / why nginx-restart #77

Open
wolf128058 opened this issue Jan 19, 2023 · 1 comment
Open

line not found / why nginx-restart #77

wolf128058 opened this issue Jan 19, 2023 · 1 comment

Comments

@wolf128058
Copy link
Contributor

job: letsencrypt --renew certonly -n --webroot -w /var/www/letsencrypt -m {{ letsencrypt_email }} --agree-tos -d {{ hostname }} && service nginx reload

this entry is not found in /etc/crontab and imho an nginx-restart is not a good idea on a system without nginx.
an apache2 stop before and start after the script would be a better idea

@wolf128058
Copy link
Contributor Author

wolf128058 commented Jan 19, 2023

all i found for certbot-stuff is a bash script that contains the following lines and is called by cronjob:

systemctl stop apache2
certbot --server https://acme-v02.api.letsencrypt.org/directory auth --keep --expand --standalone -d mate.ffbsee.net,meta.ffbsee.net
systemctl start apache2

less important:

  • if you validatenot by standalone but by dns-txt you can skip downtimes

more important:

  • why is api.ffbsee.net not in the list of domains?
  • api.ffbsee.net was expired. so i renewed it. must be fixed within the usual 90 days. otherwise this error reoccurs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant