Free SSL certificates

Date: 2016-03-14

I am proud to let you read this first post. I just wanted to tell you that I managed to get an SSL certificate for this website for free (and it is even accepted as valid!). Get one for your site too! Read the instructions on Lets Encrypt

The command I used (replaced the domain name)

letsencrypt certonly --standalone -d example.com -d www.example.com --rsa-key-size 4096

See the website for the other options. Renew the certificate every 3 months.

Update: (new commands)

# install nginx plugin
sudo pacman -S certbot-nginx

# to generate a certificate for a new domain
sudo certbot --nginx certonly -d api.solidt.eu

# to renew a certificate
sudo certbot --nginx renew

 

 

 

sudo systemctl stop nginx
sudo certbot certonly -d $cert

// include in nginx config:
// ssl_certificate /etc/letsencrypt/live/$cert/fullchain.pem;
// ssl_certificate_key /etc/letsencrypt/live/$cert/privkey.pem;

sudo nginx -t // test nginx config for syntax errors
sudo systemctl start nginx
610cookie-checkFree SSL certificates