Free SSL Certs on your vertualmin servers

Date: 02/28/2017, Author: Lostwake, Category: Virtualmin & Server Tips

Found this great article on getting free SSL Certs on your vertualmin servers: https://techjourney.net/how-to-use-lets-encrypt-ssl-certificate-automatically-in-virtualmin-webmin/

 

Here are the steps:

Configure and Setup Let’s Encrypt in Webmin / Virtualmin

  1. Login to Webmin / Virtualmin.
  2. Go to Webmin tab.
  3. Go to Webmin -> Webmin Configuration.
  4. Click or tap on Module Config link or button on the top left corner.
  5. In the text box for Full path to Let’s Encrypt client command, enter the full path to the Let’s Encrypt client executable. Click or tap Save when done.

Request and Install Let’s Encrypt SSL Certificate for Virtual Servers / Domains

  1. Go to Virtualmin tab.
  2. Select the virtual server / domain which you want to enable SSL protocol with SSL certificate from Let’s Encrypt from the drop-down list.
  3. Select Edit Virtual Server.
  4. Go to Enabled Features.
  5. Check the SSL website enabled?. Hit Save Virtual Server when done.
  6. Now go to Server Configuration -> Manage SSL Certificate.
  7. Go to Let’s Encrypt tab.
  8. Under Request certificate for, select the radio button for Domains associated with this server which allows Virtualmin to automatically decide the domains for the SSL certificate (typically the root domain and its www subdomain), or Domain names listed here, where you can list the domain names (one per line) that you want to include in the SSL certificate manually.
  9. Virtualmin also supports auto renewal of Let’s Encrypt certificate. To do so, select the radio button next to the empty textbox for Months between automatic renewal option, then enter a number between 1 to 3 months in the text box.
  10. Hit Request Certificate when done.
  11. Once done, Virtualmin will automatically install SSL certificate and configure the web server to use the new certificate and key. You can now visit your website via HTTPS secure connection, which should automatically trusted by most web browsers, and see it protected with a padlock.

Comments: