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.
Check the SSL Certificate Validity
- Verify the Certificate: Make sure the SSL certificate is valid for the domain.
- Confirm the requested hostname is covered by a Subject Alternative Name.
- Double-check that your wildcard certificate is not expired.
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.
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.
Check which certificate Traefik serves
Verify the certificate directly at the origin using SNI. For a certificate issued through ACME, verify the DNS challenge and check the proxy logs first. If a stale ACME entry is still being served, open Proxy > TLS Certificates, verify the domains and expiry, delete only that entry, and restart the proxy when prompted. Coolify saves an ACME backup automatically. Restore ACME storage if the change needs to be reversed.
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.
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.
Server Validation Issues
Resolve Coolify server validation errors such as libcrypto errors, missing authorized keys, a changed SSH host key, an unsupported operating system, and the maximum number of SSH sessions.
Let's Encrypt Not Generating SSL Certificates on Coolify
Fix Let's Encrypt SSL failures by opening ports 80/443, checking DNS records, verifying Cloudflare settings, and troubleshooting challenges.
