Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
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.
Hi @DOdood ,
Well I would say you follow the tutorial and see if the certbot can actually use the apache version of serverpilot. If this doesn’t work, you could always install the certificate manually.
To install a Let’s Encrypt certificate manually, you can run the following:
sudo /path/to/certbot-auto certonly --webroot -w /var/www/example -d example.com -d www.example.com
This will create a certificate manually hopefully. If this doesn’t work, stop your apache service and run the standalone webserver cerbot offers:
sudo /path/to/certbot-auto certonly --standalone -d example.com -d www.example.com
Once done, it will tell you something like:
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/www.example.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/www.example.com/privkey.pem
Your cert will expire on 2019-09-23. To obtain a new or tweaked
version of this certificate in the future, simply run certbot
again. To non-interactively renew all of your certificates, run
“certbot renew”
With this certificate, you need to edit your apache vhost and add them in there:
<VirtualHost *:443>
ServerName www.example.com
ServerAlias example.com
DocumentRoot /var/www/example
ErrorLog /var/www/example/error.log
CustomLog /var/www/example/requests.log combined
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/www.example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.example.com/privkey.pem
</VirtualHost>
And then restart apache again!
Hope this makes sense. If you need any more assitance please post some output, logs etc. Trial- and-Error my friend :D