> ## Content Index
> Fetch the complete content index at: https://blog.esadax.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Install an SSL Certificate on Heroku
- URL: https://blog.esadax.com/en/how-to-install-an-ssl-certificate-on-heroku/
- Published: 2026-11-15T04:16:14.000Z
- Updated: 2026-11-15T04:16:14.000Z
- Author: Esadax 
- Tags: #tr-faq-06-ssl-herokussl, #en, #mdx-imported, FAQ

To install an SSL certificate on Heroku, follow these organized steps:

### Using the Heroku Dashboard:

1. **Access the App**: Navigate to your app's dashboard in Heroku.
2. **Navigate to SSL Settings**: Go to the "SSL Certificates" section within the app's menu.
3. **Upload Certificate**:
  - Click "Add Certificate."
  - Upload `server.crt` and `server.key` files.
4. **Follow Instructions**: Complete any additional steps required, such as domain verification if using a third-party CA.

### Using the Heroku CLI:

1. **Verify CLI Version**: Ensure your Heroku CLI is updated with `heroku update`.
2. **List Apps**: Use `heroku apps:list` to identify your app name.
3. **Add Certificates**:
  - Run `heroku certs:add server.crt server.key --app yourappname`.
4. **Verify Installation**: Check with `heroku certs:info` to confirm the SSL configuration.

### Managing and Updating Certificates:

- **Removal**: Go to SSL settings, click the gear icon next to the certificate, then select "Remove" and confirm by entering the app name.
- **Update**: Similar to adding, navigate to SSL settings, click the gear, and choose "Update Certificate," following the same steps as addition.

### Additional Considerations:

- **Security**: Handle private keys securely; avoid accidental removal.
- **Renewal**: Plan ahead to update certificates before expiration, especially for self-signed or third-party issued ones.
- **No Downtime**: Heroku typically handles updates without service interruption.