User Tools

Site Tools


certbot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
certbot [2020-01-02 15:51:04]
mi
certbot [2022-12-13 12:26:37] (current)
mi [Use cron instead of systemd timers]
Line 189: Line 189:
   * [[https://​github.com/​certbot/​certbot/​issues/​3489|Ability to set source IP · Issue #3489 · certbot/​certbot]]   * [[https://​github.com/​certbot/​certbot/​issues/​3489|Ability to set source IP · Issue #3489 · certbot/​certbot]]
   * [[https://​github.com/​certbot/​certbot/​pull/​6007|WIP commit of adding a --source-address flag. by signop · Pull Request #6007 · certbot/​certbot]]   * [[https://​github.com/​certbot/​certbot/​pull/​6007|WIP commit of adding a --source-address flag. by signop · Pull Request #6007 · certbot/​certbot]]
 +
 +== Add host to existing certificate
 +
 +View existing cert.
 +
 +  certbot certificates
 +
 +Copy all hosts in existing cert. into comma-separated list, and add the new host. Then:
 +
 +  certbot --expand -d main.example.com,​other.example.com,​new.example.com
 +
 +(Found on [[https://​superuser.com/​questions/​1432541|How to add a domain to existing certificate generated by Let’s Encrypt/​Certbot?​]])
  
 == Configs == Configs
Line 279: Line 291:
  
 m=$(( RANDOM % 60 )); h=$(( RANDOM % 24 )); d=$(( RANDOM % 7 )) m=$(( RANDOM % 60 )); h=$(( RANDOM % 24 )); d=$(( RANDOM % 7 ))
-echo "## Let's Encrypt SSL certificate ​renewal ​with certbot" | tee -a /​etc/​crontab +echo "## Let's Encrypt SSL cert. renewal, once per week" | tee -a /​etc/​crontab 
-echo "$m $h * * $d root /​usr/​bin/​certbot -q renew" ​          | tee -a /​etc/​crontab +echo "$m $h * * $d root /​usr/​bin/​certbot -q renew" ​      ​| tee -a /​etc/​crontab
-# or +
-echo "$m $h * * $d root certbot-auto -q renew" ​              | tee -a /​etc/​crontab+
  
 # dom=$(( 1+ RANDOM % 31 )) mon=$(( 1+ RANDOM % 12 )) # dom=$(( 1+ RANDOM % 31 )) mon=$(( 1+ RANDOM % 12 ))
/docs/dokuwiki/data/attic/certbot.1577976664.txt.gz · Last modified: 2020-01-02 15:51:04 by mi