One of the features that RunCloud offers is automatically deploying LetsEncrypt SSL, which allows you to secure your web applications. However, sometimes you may encounter some issues when installing or renewing your LetsEncrypt SSL certificates, such as AutoRenewal failed or Challenge failed for domain(s).

AutoRenewal Failed Issue

This issue occurs when the renewal date of your SSL certificate is either empty, or missing in the RunCloud database, which prevents RunCloud from renewing your SSL certificate automatically. This may happen due to some errors or glitches in the communication between RunCloud and LetsEncrypt.

To fix this issue, you’ll need to renew your SSL certificate manually by using the ‘Redeploy’ button in the top right of your web application settings. This will force RunCloud to request a new SSL certificate from LetsEncrypt and install it on your web application.

Challenge Failed For Domain(s)

This issue occurs when LetsEncrypt fails to verify your domain ownership or validity, which prevents RunCloud from obtaining a new SSL certificate for your web application. This may happen due to some mis-configuration or errors in your DNS records, web server settings, or firewall rules.

To fix this issue, you’ll need to check and correct some of the possible causes, such as:

  • Make sure that you are applying SSL to the correct domain name that matches your web application name.
  • Make sure that your domain name has a valid A record that points to your server IP address or a valid CNAME record that points to your Cloudflare domain name.
  • Make sure that your web server (NGINX or Apache) is running and listening on port 80, which is required for LetsEncrypt validation.
  • Make sure that your firewall rules allow incoming traffic on port 80 from LetsEncrypt servers.
  • Make sure that your web application folder does not have any files or folders that may interfere with the LetsEncrypt validation process, such as .well-known, .htaccess, etc.

You can also try to redeploy your SSL certificate by using the ‘Redeploy’ button in the top right of your web application settings. This will make RunCloud retry the challenge process and install the SSL certificate on your web application.

If none of the above solutions work and you still have issues with installing or renewing your LetsEncrypt SSL certificates, you can contact RunCloud support by submitting a support ticket from your RunCloud dashboard. We will try to help you with your issue as soon as possible.