A while ago, ServerPilot used to offer a free subscription plan as well. The free plan didn’t have the auto-ssl feature. Now ServerPilot has gone fully paid, but the servers on their free plan can still exist there, but without the SSL provisioning feature.
To help users on their free plan, I have written a Python tool. The utility is available at PyPi repository and you can install it using PIP. I have written some detailed instructions at the GitHub repo of this package.
Sign in as root using a terminal or PuTTY on Windows and execute the following command:
sudo apt-get update && sudo apt-get install python3-pip
sudo pip3 --upgrade --force-reinstall install rwssl
Once the package is installed, type this command and hit enter to confirm that the installation went successful:
The above command should bring up the help menu of
To install SSL certificate on a single app, execute this command:
rwssl getcert --app appname
Obviously, you will have to use the actual app name in place of appname. Here is the list of complete commands that you can use in order to manage SSL certificates on your ServerPilot apps.
|getcert||Get letsencrypt cert for an app.|| |
|getcerts||Get letsencrypt certs for all apps.|| |
|removecert||Uninstall SSL cert from an app.|| |
|removecerts||Uninstall SSL certs for all apps.|| |
|forcessl||Force SSL certificate for an app.|| |
|unforcessl||Unforce SSL certificate for an app.|| |
|forceall||Force HTTPs for all apps.|| |
|unforceall||Unforce HTTPs for all apps.|| |
To uninstall rwssl completely, execute this command:
pip3 uninstall rwssl
A CRON job is added for SSL renewals by rwssl, you can remove the CRON file by running: