ServerPilot - Let's Encrypt

Posted March 9, 2017 9.1k views
NginxApacheControl PanelsLet's EncryptUbuntu 16.04

I’ve just set a droplet up on Ubuntu 16.04 64bit and setup ServerPilot free version to control the server, I managed to set the APP up which was fairly straightforward, I’ve got the app running Magento 2 and another app running WordPress on two separate testing domains..

I’d like to use Let’s encrypt for the SSL and install them myself on the server to the domains, which when I’ve set a droplet up before it was fairly straight forward following a couple of tutorials on digital ocean.

Problem is I can’t work out the structure from how server pilot has set the server up what commands to use to set the SSL certificates up using Let’s Encrypt on the server.

I seem to have a folders:


and the apps are stored here:


If anyone has manage to do this without paying for the upgrade on Server Pilot It would be much appreciated to know how, as from what I have read on their site is they use Let’s Encrypt for managing the SSL Certs



These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
4 answers
  • nice one i shall test it later

  • This worked, for some strange reason it might have been me messing with the server or Magento I’d installed under http and a caching issue ??

    But as I’d created the site, installed Magento before installing and running this script, the https:// didn’t work correctly and Magento kept serving http links even though it said the SSL cert was installed correctly....

    So I just destroyed the droplet, created another one, linked SP created a domain installed and run the script and created the SSL cert, then installed Magento 2 worked like a charm :-)

“as from what I have read on their site is they use Let’s Encrypt for managing the SSL Certs”.

This is true, as long as you pay 10$ per month.

If you need to do it yourself, then it’s way more complicated than that.
I managed to do this when LE first came out in public beta. I since then destroyed the server, and paid 10$ to SP to do this for me. There was so much to setup and the worst part, the update. And also adding new ssl certs was not just one click.

I already saved the costs lots of times by paying them 10$ to do the hard work for me.

  • @malblack I’m sorry I can’t help you with SP, since I’ve never used them.

    @Zonax7100 A lot has changed since LE came out. Now there is automatic install on Nginx and Apache (unless you have special configuration), but it has also become very easy to install, maintain and update. Again, I have no idea if the structure of SP makes this difficult.

not to worry I only needed to use it for testing hence the reason I don’t want to pay the 10$ as the droplet will be destroyed once I’ve finished…

ServerPilot already offers this feature with its paid plan as mentioned above but if you aren’t willing to pay $10 per month for some reason, then you can use my written bash script to install and enable the auto-renewal of Let’s Encrypt on ServerPilot-configured servers. Here is the link:

Usage Example:

rwssl install yourwebsite main

This command will install the SSL on the domain ‘’ assuming that the app name in ServerPilot is 'yourwebsite’ and you are installing the SSL on the main domain (last flag).

  • I’d like to point out that you can’t enable SP plans on a per-server basis, and it’s $10 per server. So for me that would be closer to $100/month to have them make it easy for me to set up LE one time on one server. It’s definitely not worth it.

    Thanks for the script.