letsencrypt-auto certonly -email -agree-tos -webroot -renew-by-default -w /home/MYDOMAIN/public_html/ -d -d -authenticator webroot & cp -f /etc/letsencrypt/live//home/MYUSERNAMEFORDOMAIN/ssl_certificates/cert.pem & cp -f /etc/letsencrypt/live//home/MYUSERNAMEFORDOMAIN/ssl_certificates/chain.pem & cp -f /etc/letsencrypt/live//home/MYUSERNAMEFORDOMAIN/ssl_certificates/fullchain.pem & cp -f /etc/letsencrypt/live//home/MYUSERNAMEFORDOMAIN/ssl_certificates/privkey.pemĠ1 3 1 * * cd /root/letsencrypt/ &. It wil probably ask you which editor, i choose Nano, once in the editor enter the following somewhere on a new line (pick the option you choose on step 1!):Ġ1 3 1 * * cd /home/user/letsencrypt/ &. Setup your cronjobs by running: "sudo crontab -e" *** Mkdir /home/MYUSERNAMEFORDOMAIN/ssl_certificates Reason for this is because Virtualmin has a protection where it only allows a certificate from the user/domains directory: *** Create your directory where you will be saving your certificate later on. ^^ This will download the Let's Encrypt from github with executable script Login to SSH and get root privileges (root/sudo -i): First install Let's Encrypt script/programm. MYUSERNAMEFORDOMAIN: my system username known in virtualmin Get the following right for your "variables", fill in your own offcourse: Webmin version 1.770 - 1.780 (doesn't really matter? build 2015+) Virtualmin version: 4.18.gpl (doesn't really matter? build 2015+) If you run into issues please let me know. Its working on 06-12-2015 during the public BETA. I've been going at this for a little while but came up with the following steps to get it working.
0 Comments
Leave a Reply. |