Skip Navigation
Heroku Dev Center Dev Center
  • Get Started
  • Documentation
  • Changelog
  • Search
Heroku Dev Center Dev Center
  • Get Started
    • Node.js
    • Ruby on Rails
    • Ruby
    • Python
    • Java
    • PHP
    • Go
    • Scala
    • Clojure
    • .NET
  • Documentation
  • Changelog
  • More
    Additional Resources
    • Home
    • Elements
    • Products
    • Pricing
    • Careers
    • Help
    • Status
    • Events
    • Podcasts
    • Compliance Center
  • Log in or Sign up
Show nav
View categories

Categories

  • Heroku Architecture
    • Compute (Dynos)
      • Dyno Management
      • Dyno Concepts
      • Dyno Behavior
      • Dyno Reference
      • Dyno Troubleshooting
    • Stacks (operating system images)
    • Networking & DNS
    • Platform Policies
    • Buildpacks
    • Platform Principles
  • Developer Tools
    • AI Tools
    • Command Line
    • Heroku VS Code Extension
  • Deployment
    • Deploying with Git
    • Deploying with Docker
    • Deployment Integrations
  • Continuous Delivery & Integration (Heroku Flow)
    • Continuous Integration
  • Language Support
    • .NET
      • Working with .NET
    • Clojure
    • Front-end
    • Go
      • Go Dependency Management
    • Java
      • Java Behavior in Heroku
      • Working with Java
      • Working with Maven
      • Working with Spring Boot
      • Troubleshooting Java Apps
    • Node.js
      • Working with Node.js
      • Troubleshooting Node.js Apps
      • Node.js Behavior in Heroku
    • PHP
      • PHP Behavior in Heroku
      • Working with PHP
    • Python
      • Working with Python
      • Background Jobs in Python
      • Python Behavior in Heroku
      • Working with Django
    • Ruby
      • Rails Support
        • Working with Rails
      • Working with Bundler
      • Working with Ruby
      • Ruby Behavior in Heroku
      • Troubleshooting Ruby Apps
    • Scala
  • Databases & Data Management
    • Heroku Postgres
      • Postgres Basics
      • Postgres Getting Started
      • Postgres Performance
      • Postgres Data Transfer & Preservation
      • Postgres Availability
      • Postgres Special Topics
      • Heroku Postgres Advanced
      • Migrating to Heroku Postgres
    • Heroku Key-Value Store
    • Apache Kafka on Heroku
    • Other Data Stores
  • AI
    • Inference Essentials
    • Inference API
    • Inference Quick Start Guides
    • AI Models
    • Tool Use
    • AI Integrations
    • Vector Database
  • Monitoring & Metrics
    • Logging
  • App Performance
  • Add-ons
    • All Add-ons
  • Collaboration
  • Security
    • App Security
    • Identities & Authentication
      • Single Sign-on (SSO)
    • Private Spaces
      • Infrastructure Networking
    • Compliance
  • Heroku Enterprise
    • Enterprise Accounts
    • Enterprise Teams
  • Patterns & Best Practices
  • Extending Heroku
    • Platform API
    • App Webhooks
    • Heroku Labs
    • Building Add-ons
      • Add-on Development Tasks
      • Add-on APIs
      • Add-on Guidelines & Requirements
    • Building CLI Plugins
    • Developing Buildpacks
    • Dev Center
  • Accounts & Billing
  • Troubleshooting & Support
  • Integrating with Salesforce
    • Heroku AppLink
      • Getting Started with Heroku AppLink
      • Working with Heroku AppLink
      • Heroku AppLink Reference
    • Heroku Connect (Salesforce sync)
      • Heroku Connect Administration
      • Heroku Connect Reference
      • Heroku Connect Troubleshooting
    • Other Salesforce Integrations
  • Security
  • App Security
  • Automated Certificate Management

Automated Certificate Management

English — 日本語に切り替える

Table of Contents [expand]

  • Key Type
  • Setup
  • Certificate Renewal
  • Providing Your Own TLS certificate
  • Migrating Existing Applications
  • Troubleshooting
  • Alternatives to ACM
  • Known Limitations

Last updated November 18, 2026

With Automated Certificate Management (ACM), Heroku automatically manages TLS certificates for apps in the Common Runtime, and for apps in Private Spaces that enable the feature.

Certificates handled by ACM automatically renew one month before they expire, or earlier if Let’s Encrypt suggests it. Adding or removing a custom domain automatically creates new certificates. All apps include ACM. See Certificate Renewal for more information.

Automated Certificate Management uses Let’s Encrypt, the free, automated, and open certificate authority for managing your app’s TLS certificates. Let’s Encrypt is run for the public benefit by the Internet Security Research Group (ISRG).

Key Type

Starting on December 21, 2026, ACM will issue certificates with an Elliptic Curve Digital Signature Algorithm (ECDSA) P-256 key instead of a Rivest-Shamir-Adleman (RSA) key.

By default, ACM issues certificates with a Rivest-Shamir-Adleman (RSA) key. ACM also supports issuing certificates with an Elliptic Curve Digital Signature Algorithm (ECDSA) P-256 key through a Heroku features flag. See Change Automated Certificate Management Keys for more information and how to change the key type for your ACM certificates.

Setup

Common Runtime

Enable ACM with the command:

$ heroku certs:auto:enable

When you enable ACM, make sure that your DNS is pointed at its new DNS target. If it’s pointed at *.herokuapp.com or *.herokussl.com, Heroku can’t verify your certificate. Run heroku domains to verify the DNS target.

Private Spaces

If your app doesn’t have TLS certs, enable ACM and wait for the certificate to provision:

$ heroku certs:auto:enable

If you already have manually uploaded TLS certs and want to migrate to ACM, follow these steps:

1. Determine the Name of Your Manually Uploaded Cert

Run the heroku certs command:

$ heroku certs
Name          Endpoint                                                 Common Name(s)          Expires               Trusted  Type
────────────  ───────────────────────────────────────────────────────  ──────────────────────  ────────────────────  ───────  ─────────────────
nagano-91606  <haiku>.<haiku>.herokuspace.com                          <common-name>           2018-08-13 11:05 UTC  True     SNI

2. Enable ACM for Your App

Run the heroku certs:auto:enable command:

$ heroku certs:auto:enable

Enabling Automatic Certificate Management... done
=== Your certificate will now be managed by Heroku.  Check the status by running heroku certs:auto.

3. Wait for ACM to Issue the Cert

Make sure to wait for this step to complete before proceeding. If you don’t, your app can experience downtime.

$ watch heroku certs:auto

4. Remove the Manually Added Cert

Specify the cert name you found in step 1:

$ heroku certs:remove --name nagano-91606

View Your Certificate Status

It usually takes 45–60 minutes to generate a TLS certificate for your app’s custom domains. You can view the status of the generated certificate by running the command:

$ heroku certs:auto

The process is complete when the certificate’s status is Cert Issued.

If your certificate’s status is DNS Verified, the process isn’t finished yet. Heroku has verified your domain status and is still in the process of submitting it to Let’s Encrypt.

These statuses are all the possible certificate generation statuses:

Status Description
Cert Issued A certificate has been issued for the domain.
In Progress Heroku is verifying your custom domain’s DNS.
DNS Verified Heroku verified your custom domain’s DNS and is in the process of generating the certificate.
Waiting Heroku is waiting to process your certificate.
Failing Heroku can’t verify your DNS. We keep trying to verify for up to an hour. See Troubleshooting for help with addressing this error.
Failed Heroku can’t verify your DNS. We stopped trying to verify this domain. See Troubleshooting for help with addressing this error.

Certificate Renewal

ACM renews each certificate one month before it expires. It also checks with Let’s Encrypt when to renew each certificate, using ACME Renewal Information (ARI) (RFC 9773). If Let’s Encrypt suggests renewing sooner, for example before it revokes certificates, ACM renews in the suggested time.

Each domain keeps serving its current certificate until the new certificate is ready. To see when your app’s certificates expire, run:

$ heroku certs -a example-app

Providing Your Own TLS certificate

If you prefer to use a different type of TLS certificate, such as one from a different CA or an EV certificate, you can do so. You must also upload your own wildcard certificate for Private Space apps.

Upload your own certificate following the steps in Heroku SSL.

Providing your own certificate disables ACM for your app. To re-enable ACM, run the following command:

$ heroku certs:auto:enable

Turning Off Automated Certificate Management

Don’t turn off ACM with the intent of turning it back on immediately. This process can cause your account to reach a rate limit with Let’s Encrypt.

Turn off ACM by running the command:

$ heroku certs:auto:disable

This command removes your domain’s certificate and turns off ACM for your app. Removing your certificate with heroku certs:remove also turns off ACM.

Migrating Existing Applications

Migrating from Heroku SSL and Private Spaces with Your Own Certificate

Automated Certificate Management uses the same DNS configuration as Heroku SSL (SNI) support. Enabling ACM for Private Space apps also doesn’t require DNS changes. Although it can take some time to verify your DNS configuration, your app continues to serve your existing SSL certificate while verification is taking place. Your app remains available at your custom domain throughout the process.

Troubleshooting

Don’t turn off ACM in an attempt to fix or speed up the ACM process. This process can cause your account to reach a rate limit with Let’s Encrypt.

Verification Errors

If heroku certs:auto shows Failing or Failed for any domain, it means Heroku can’t verify DNS for a given domain. You must verify that it’s pointing to the correct DNS target as specified in heroku domains. The DNS targets are in the format <your-domain>.herokudns.com.

If your DNS is pointing at older DNS settings, such as *.herokuapp.com or *.herokussl.com, Heroku can’t generate a certificate.

If ACM can’t create a certificate for your domain, you receive a notification after three days of attempts. Usually, this error occurs because DNS isn’t properly configured for your domain. After you resolve your DNS issue, run the command to instruct ACM to try again:

$ heroku certs:auto:refresh

Failure Reasons

There are various reasons why issuing a certificate can fail. You can find a failure reason in a notification email or in the CLI.

CN Exceeding 64 Character Limit

Domain names can’t exceed 64 characters.

Incorrect DNS Settings

Your DNS record isn’t set up properly.

Review this document and ensure that your DNS records are set up correctly.

If your domain fails DNSSEC (DNS Security Extensions) verification, you can encounter this error.

You can also encounter this error if your Private Space app doesn’t have a web dyno running.

Unable to Resolve DNS for Domain

The error is typically encountered when a DNS name hasn’t yet propagated to DNS providers. Heroku’s ACM feature checks for the availability of your domain in Google’s DNS (8.8.8.8).

Check that your domain is available in Google Public DNS and that there are no typos in your entry.

CDN Not Returning HTTP Challenge

Heroku ACM is attempting to verify that the HTTP challenge file is being returned, but is encountering a 404 error. This typically happens when you’re pointing your domain at a CDN, rather than the Heroku provided DNS target, and the HTTP challenge file doesn’t exist on the CDN.

This typically happens with AWS CloudFront.

DNS Redirect Not Forwarding Path

Heroku ACM is attempting to verify that the HTTP challenge file is being returned, but your DNS provider isn’t returning the full path of the file location.

If your DNS provider doesn’t support forwarding paths, you can change DNS providers. Some providers, such as Google Domains, offer the ability to turn on or off path forwarding. By default, this path is turned “off” for Google Domains.

Incorrect CNAME Target

This error is encountered when your DNS record specifies <app-name>-<random-identifier>.herokuapp.com as the target for the CNAME rather than the provided DNS target. Update your DNS record to point at the correct DNS target.

To get the correct DNS target, run heroku domains.

Rate Limited

ACM failed because there have been too many requests to issue a certificate for the domain(s) on this app within a 7-day interval. Heroku support can’t bypass this rate limit, because it’s set by Let’s Encrypt. You can encounter a rate limit when you enable and disable ACM on your app repeatedly.

ACM for domains on other apps aren’t affected by this error. For example, a rate limit on one app doesn’t impact ACM on another app with a different domain.

After the rate limit period has ended, you can try issuing a certificate again by running:

$ heroku certs:auto:refresh

DNS Provider Timed Out

Heroku attempted to verify your DNS record, but your DNS provider timed out. Run heroku certs:auto:refresh to try again.

Strict TLS in CDN Not Supported

You’re attempting to use Cloudflare with ACM, but don’t have it configured correctly.

Heroku recommends against using ACM with Cloudflare, because Cloudflare provides SSL certificates. To disable ACM on your app, run heroku certs:auto:disable.

For more information, check out Cloudflare’s “Configure Cloudflare and Heroku over HTTPS” documentation.

DNS Provider Doesn’t Support CAA

Let’s Encrypt returned an error that your DNS provider doesn’t support Certificate Authority Authorization (CAA) records.

Contact your DNS provider for more information on CAA support. Learn more about CAA records.

CAA Record Prevents Issuance, CAA Record Doesn’t Match Issuer

The CAA record prevents certificates from being issued by Let’s Encrypt.

Add a CAA record that allows Let’s Encrypt to issue certificates for the domain. Learn more about CAA records.

Domain Record Doesn’t Exist

Let’s Encrypt has returned an NXDOMAIN error, which means the domain record doesn’t exist in your DNS provider.

To fix this error, make sure that you entered your domain name correctly and the DNS record for the domain contains the right CNAME.

Domain Considered Unsafe

Let’s Encrypt checks domains against Google’s Safe Browsing API and doesn’t issue certificates for domains considered unsafe.

Check the status of your domain by visiting this URL:

https://www.google.com/safebrowsing/diagnostic?site=http://yourdomainhere.com/

Let’s Encrypt Domain Blocklist

You requested a certificate for a domain on Let’s Encrypt’s domain blocklist. Typically, well-known domains are on this blocklist as an additional security measure to prevent unauthorized certificate creation.

Contact Let’s Encrypt on their Community Support forum.

Alternatives to ACM

To automatically renew a wildcard certificate on a Private Space app or use a different CA, Heroku add-ons such as SSL FastTrack or ExpeditedSSL can serve your use case.

Let’s Encrypt is an organization independent of Heroku and Salesforce, Heroku offers ACM to simplify integration of Let’s Encrypt’s verification process and certificate installation for the majority case of obtaining SSL for a domain. If your apps or domains require a more sophisticated integration, you can use Let’s Encrypt directly and is highly automatable with various first- and third-party plugins already written, including plugins that can automatically install a resulting certificate into a Heroku app. Review the resources available on Let’s Encrypt’s site for further possibilities.

Known Limitations

  • Custom Domains can’t be longer than 64 characters.
  • ACM is a replacement for manually managing certificates, you can’t do both on a single app.
  • Cedar-generation Private Space apps using ACM can’t have wildcard domains. Fir-generation Private Space apps can use ACM with wildcard domains.
  • ACM doesn’t work for apps in Cedar Private Spaces that use Trusted IPs to block access.
  • Cedar-generation Private Space apps must have at least one running web dyno for initial validation and renewals to work. This step isn’t required for Fir-generation Private Spaces apps.
  • When ACM is enabled the Let’s Encrypt HTTP challenge URLs (/.well-known/acme-challenge/*) are handled by the Heroku Platform, redirected away from your app. If you require use of these paths on your app you must disable ACM.
  • ACM doesn’t support IPv6 AAAA DNS records.
  • ACM isn’t compatible with internal routing.

Feedback

Log in to submit feedback.

Information & Support

  • Getting Started
  • Documentation
  • Changelog
  • Compliance Center
  • Training & Education
  • Blog
  • Support Channels
  • Status

Language Reference

  • Node.js
  • Ruby
  • Java
  • PHP
  • Python
  • Go
  • Scala
  • Clojure
  • .NET

Other Resources

  • Careers
  • Elements
  • Products
  • Pricing
  • RSS
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku Blog
    • Heroku News Blog
    • Heroku Engineering Blog
  • Twitter
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku
    • Heroku Status
  • Github
  • LinkedIn
  • © 2026 Salesforce, Inc. All rights reserved. Various trademarks held by their respective owners. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States
  • heroku.com
  • Legal
  • Terms of Service
  • Privacy Information
  • Responsible Disclosure
  • Trust
  • Contact
  • Cookie Preferences
  • Your Privacy Choices