Let’s encrypt for www and non-www

I enabled letsencrypt for brie.com today. Turns out for www and non-www, you have to give it the -d option for the www.brie.com and the -d option for the non-www domain. It works now for both. Yay for letsencrypt.

As root, do the following on Debian Squeeze.

# certbot --authenticator standalone --installer apache \
 -d brie.com -d www.brie.com --pre-hook "service apache2 stop" --post-hook "service apache2 start"

About Brian Lavender

I like to program in C++, Java, and Pascal. I have an admiration for languages like Pascal, Ada, and Eiffel. I work a lot with GNU/Linux systems.
This entry was posted in Debian. Bookmark the permalink.