Linux Servers
In this guide we will assume that you already have a functional DNAS server and DNS records configured
- First make sure your DNAS server is shut down either by killing the process if you launched it with the daemon option or by pressing Ctrl+C.
killall sc_serv
- Then install the CertBot client provided by Let's Encrypt:
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
- Generate your certificate:
sudo ./certbot-auto certonly --standalone -d yourdomain.com
Add additional domains by repeating ‘-d domain.com’ without the quotes.
- Move the binary to the etc repertory:
mv certbot-auto /etc/certbot-auto
• Activate auto renewal:
crontab –e
Then paste the following line at the end of the file:
0 0 13 3 * /etc/certbot-auto renew --no-self-upgrade
And exit the text editor ( Ctrl+X for nano, Esc then :wq then Enter for Vim ).
Comments
0 comments
Article is closed for comments.