Question

ServerPilot - Let's Encrypt

hello, 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:

/etc/apache-sp/ /etc/nginx-sp/

and the apps are stored here:

/srv/users/serverpilot/apps/

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

Regards

Mal


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

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:

https://github.com/rehmatworks/serverpilot-letsencrypt

Usage Example:

rwssl install yourwebsite.com yourwebsite main

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

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…

“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.