Hello I'm not sure what sysem should I specify for ubuntu. There are some linux options in the dropdown, but they appear to be other distros.
You should choose Linux (snap)
unless your distro doesn't support snap, which Ubuntu certainly does (having created it and all). Or use a different client entirely, which would be my recommendation.
4 Likes
I got going with Linux (pip)
1 Like
Please note that using pip makes updating Certbot and it's dependencies a little bit harder compared to using snap.
1 Like
I would counter that it is only a little harder in that you need to manually add a cron job (or systemd timer) one time during setup. My pip installation of Certbot has been successfully self-updating across numerous version releases.
4 Likes
A cronjob for cert renewal or to keep the venv up to date? Or both?
Both.
% cat /etc/cron.d/certbot
0 0,12 * * * root /opt/certbot/bin/python -c 'import random; import time; time.sleep(random.random() * 3600)' && sudo certbot renew -q
0 0 * * * root /usr/bin/chronic /opt/certbot/bin/pip install --upgrade certbot
4 Likes
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.