Home Arrow Icon Knowledge base Arrow Icon Global Arrow Icon How can I integrate Let's Encrypt with Forge for SSL certificates


How can I integrate Let's Encrypt with Forge for SSL certificates


Here are the key steps to integrate Let's Encrypt with Laravel Forge for obtaining free SSL certificates:

1. Log into your Forge account and navigate to the site you want to set up the SSL certificate for[2].

2. Select the "SSL Certificates" tab for that site[2].

3. Click on the "Let's Encrypt (Beta)" button to begin the process[2].

4. If you need to install Let's Encrypt for multiple domains, you can separate them using commas[1].

5. For wildcard subdomains, list both the wildcard subdomain and root domain (e.g. `*.domain.com, domain.com`). Let's Encrypt requires providing API credentials for your DNS provider that supports the `dns-01` challenge type[1].

6. Forge currently supports Let's Encrypt wildcard DNS integration with Cloudflare and Route53[1].

7. Forge will automatically renew your Let's Encrypt certificates within 21 days or less before expiration, at a random day and time to avoid overwhelming the Let's Encrypt servers[1].

8. You must have an active Forge subscription for the Let's Encrypt certificates to automatically renew[1].

By following these steps, you can easily integrate Let's Encrypt with Laravel Forge to obtain free SSL/TLS certificates for your sites. Forge handles the entire process of obtaining, installing and automatically renewing the certificates[3][5].

Citations:
[1] https://forge.laravel.com/docs/sites/ssl.html
[2] https://laracasts.com/discuss/channels/forge/setting-up-lets-encrypt-on-forge
[3] https://forge.laravel.com
[4] https://community.letsencrypt.org/t/cant-generate-ssl-certificate-with-laravel-forge/97648
[5] https://forge.laravel.com/features/free-tls-certificates