Coolify not using Wildcard SSL Certificates
If your wildcard SSL certificate isn't working with your domain, it may be due to configuration problems. Here's how you can check and fix it.
1. Check the SSL Certificate Validity
- Verify the Certificate: Make sure the SSL certificate is valid for the domain.
- Confirm the Common Name (CN) matches your domain.
- Double-check that your wildcard certificate is not expired.
2. Verify Certificate Installation
- File Extensions: Make sure the SSL certificate file ends with
.certand the key file ends with.key.- Some providers give files in
.pemformat, which must be converted to.certand.keybefore adding them to your server (simply rename the files to.certfor the certificate and.keyfor the key)
- Some providers give files in
- File Location: Make sure your
.certand.keyfiles are located in the/data/coolify/proxy/certsdirectory.
3. Check the Coolify Proxy Configuration
- Add Certificate in Dashboard: Make sure you have added the SSL certificate configuration in the Coolify proxy via the dashboard. More details can be found here.
- Check File Mounts: If you have modified the proxy configuration, verify that the
/data/coolify/proxydirectory is mounted correctly.
4. Remove Old Certificates
- Old Certificate Issue: The Coolify proxy may be using an old certificate stored in the
acme.jsonfile. - Action: Delete the
acme.jsonfile from the/data/coolify/proxydirectory and restart the Coolify proxy from the dashboard by clicking the restart proxy button.
5. Clear Your Browser Cache
- Cache Issue: Your browser might be caching an old SSL certificate.
- Action: Check your website using a different browser or network.
- You can also use sandbox tools like Browserling ↗ to test your site.
6. Verify DNS Challenge Configuration
- DNS Challenge Check: If you are using a DNS challenge, confirm that it is set up correctly.
- Action: Verify that you have selected the correct DNS provider, API Keys and check the challenge settings are properly configured.
Support
If none of the above steps work, try these additional options:
- Community Help: Join our Discord community ↗ and post in the support forum channel.
- What to Share: Include a description of your issue, screenshots of your configuration, any error messages, and the steps you have already tried.
