Froxlor – How to setup LetsEncrypt Free SSL – PHP-FPM – Nginx – Ubuntu 18.04

Froxlor is a open source server management software that allows you to manage your virtual server.

Article only covers steps to setup LetsEncrypt (LE) with following setup

  • Ubuntu 18.04
  • Php-fpm
  • Nginx

This article assumes you have installed Froxlor and configured. Once you have everything running you are now ready to setup LE. To follow along with this article you will need root or sudo access to your server.

Step 1: Create a Self Signed Certificate

sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/nginx-selfsigned.key -out /etc/ssl/certs/nginx-selfsigned.crt

You will be prompt to provide some basic information for your company. Those information will be used to setup the certificate. For Common Name (e.g. server FQDN or YOUR name use your server domain name or IP address. Once you fill out all information openssl will create the self signed ssl certificate for you. now keep note of key and crt file path as we will need both of them in just a little while.

  • Certificate path: /etc/ssl/certs/nginx-selfsigned.crt
  • SSL Key file path: /etc/ssl/private/nginx-selfsigned.key

You can find more detailed article on creating self signed SSL certificate in Digitalocean blog.

Step 2: Froxlor – Create IP/Port for SSL

Login into your Froxlor Admin panel and go to Resources > IPs and Ports. If you have not setup any ports/IPs you should see only one entry with your server IP with port 80.

  1. Copy the IP address of your server and click Add IP/Port.
  2. Paste IP on the IP field.
  3. Put 443 in Port field.
  4. Scroll down to Webserver SSL config
    1. Check Is this an SSL port
    2. Paste Certificate path you created previously into Path to SSL Certificate Field
    3. Paste Keyfile path into Path to SSL Keyfile Field
  5. Save

Now you are mostly done with the ssl settings you need for Froxlor. Next we are going to setup Letsencrypt (LE) settings.

Step 3: Enable SSL For Server

Go to System > Settings, Set SSL settings to YES.

Step 4: Letsencrypt Settings For Your Domain

Now find the domain you want to setup LE cert and edit.

  1. Find ServerAlias value for the domain under Webserver settings and make sure you select WWW (www.domain.tld) Current version of Froxlor doesn’t let you select wildcard.
  2. Scroll down to Webserver SSL Settings and setup following
    1. Check Enable Uses of SSL to YES
    2. Check SSL IP Addresss(es)
    3. Use Letsencrypt to Yes
    4. You can keep everything else to default.
  3. Save.

Now wait about 10 mins, Froxlor will run cronjob to reflect all changes in your server. Let me know in the comment box if you face any problem.


Join the Conversation


  1. Thanks, it worked so far except for the missing hint that you have to adjust the web server. To do this, go to the configuration wizard again and then select the web server.

    There is then again an option for ACME displayed, but this is only displayed if you have made step 3.

    1. Thank you! What version of the froxlor you are working on? I have moved away from Froxlor every since because it has very little support.

Leave a comment

Your email address will not be published. Required fields are marked *