Let's Encrypt: Difference between revisions

Jump to navigation Jump to search
→‎Adding multiple domain names for a certificate: Getting certificates for a separate server using manual mode
iwu
 
→‎Adding multiple domain names for a certificate: Getting certificates for a separate server using manual mode
Line 61: Line 61:
You can use one certificate for multiple domains. The certificate is generated, but you need to install it yourself.
You can use one certificate for multiple domains. The certificate is generated, but you need to install it yourself.


<syntaxhighlight lang="bash" highlight="1">
<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
$ 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


Line 75: Line 75:
   Donating to ISRG / Let's Encrypt:  https://letsencrypt.org/donate
   Donating to ISRG / Let's Encrypt:  https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le
   Donating to EFF:                    https://eff.org/donate-le
</syntaxhighlight>
</source>
 
== Getting certificates for a separate server using manual mode ==
 
This will start an interactively, manual mode.
 
<source lang="bash" highlight="1">
$ certbot-auto certonly --manual -d test.com -d www.test.com
</source>

Navigation menu