By manandharv
I’m running my WordPress site via runcloud.io service and in the free account, there’s no automatic option for Let’s Encrypt Integration. How can I manually install the Let’s Encrypt?
I tried with the certbot but it affects the runcloud.io Nginx configuration.
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!
Runcloud support Let’s Encrypt directly as part of their Pro plan. As Runcloud manages the Nginx instance on your server, certbot’s Nginx integration is unlikely to work with it. Though, it may be possible to create a certificate in certonly mode and then upload it to Runcloud manually.
You will need to make one change to the Nginx config first, but luckily they do provide a way to include a custom directive in the /etc/nginx-rc/extra.d/ directory. Adding one that allows access to .well-known will allow certbot to respond to the Let’s Encrypt challenge to verify your domain. Like so:
location ~ /.well-known {
allow all;
}
Next, run certbot in certonly mode replacing the webroot path with the one used by Runcloud (e.g. /home/runcloud/webapps/runcloud-blog;):
- sudo certbot certonly --webroot --webroot-path=/var/www/html -d example.com
After running through the prompts, all the needed certificate file will be available in /etc/letsencrypt/live/example.com/ You will then need to download those files and re-upload them through Runcloud’s interface, allowing them to configure SSL for your domain in Nginx.
The major drawback to this approach is that you will not be able to use cerbot’s auto renewal functionality.
This comment has been deleted
You may use https://github.com/rehmatworks/runcloud-letsencrypt in order to install Let’s Encrypt SSL certs on both paid and free plans of RunCloud.
Disclaimer: I’m the author of this script.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.