./dev |
Original theme by orderedlist (CC-BY-SA)
Where applicable, all content is licensed under a CC-BY-SA.
|
Let's Encrypt is a certificate authority that gives out digital certificates to the community free of charge.
Using thir "shell access" method, one can install a program called certbot that gives quick start instructions for installing and running certbot to issue a certificate for your host and system.
Detailed below is what I did for some of my servers (HAProxy on Ubuntu and Apache on Ubuntu).
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot
certbot certonly --webroot -w /var/www -d meowcad.com -d www.meowcad.com
I had to create a meow.pem
for my version of HAProxy to work:
cd /etc/letsencrypt/live/meowcad.com
cat private.pem fullchain.pem > meow.pem
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-apache
certbot certonly -n --agree-tos --email $EMAIL --domain mechaelephant.com --domain www.mechaelephant.com --webroot --webroot-path /var/www/ --expand
www.domain.com
and domain.com
work.www.mechalephant.com
, adding the domain mechaelephant.com
because I forgot the non www
prefixed web page, then I think the --expand
flag will work to add an additional domain.