User Tools

Site Tools


Certbot download certificates only

Install certbot

Get certificate

Append –dry-run to below commands to test.

certbot-auto certonly --webroot -w /path/to/webroot/ -d

Concatenate the newly renewed certificate and private key (lighttpd example):

cat /etc/letsencrypt/live/ /etc/letsencrypt/live/ > /etc/lighttpd/qa.pem

Reload webserver.

Expand certificate

For expanding the certificate to new subdomains just add the new domain to above command i.e.:

certbot-auto certonly --webroot -w /var/www/ --expand -d -d

Tested on

  • Debian 8 Jessie
  • Debian 9 Stretch

See also


wiki/certbot_download_certificates_only.txt · Last modified: 2022/09/19 23:42 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki