4,461
edits
→SSL/TLS: add Let's Encrypt free SSL certificate |
→Let's Encrypt free SSL certificate: add Adding multiple domain names for a certificate |
||
Line 134: | Line 134: | ||
[[Category:System administration]] | [[Category:System administration]] | ||
==== Adding multiple domain names for a certificate ==== | |||
You can use one certificate for multiple domains. The certificate is generated, but you need to install it yourself. | |||
<source lang="bash" highlight="1"> | |||
$ certbot-auto certonly --webroot -w /srv/www/mysite.com/ -d www.mysite.com -d mysite.com -w /srv/www/blog.mysite.com/ -d blog.mysite.com | |||
IMPORTANT NOTES: | |||
- Congratulations! Your certificate and chain have been saved at | |||
/etc/letsencrypt/live/mysite.com/fullchain.pem. Your cert | |||
will expire on 2016-09-26. To obtain a new or tweaked version of | |||
this certificate in the future, simply run certbot-auto again. To | |||
non-interactively renew *all* of your certificates, run | |||
"certbot-auto renew" | |||
- If you like Certbot, please consider supporting our work by: | |||
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate | |||
Donating to EFF: https://eff.org/donate-le | |||
</source> |