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…

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel