- Newest
- Most votes
- Most comments
The error you're encountering suggests that multiple Certificate Authorities have issued certificates for the same domain (api-test.dsis-mcp.com). This is a known issue in API Gateway when configuring mutual TLS (mTLS) for custom domain names.
For mTLS domains in API Gateway, there can only be one issuer per certificate subject. This means all certificates for a particular domain must come from the same Certificate Authority.
Even though you've deleted previous certificates and only have two visible in your Certificate Manager (the imported certificate and the ACM Ownership Verification Certificate), API Gateway might still be detecting a conflict. This could be due to:
- Lingering information about recently deleted certificates in ACM's system.
- Hidden associations with old certificates in API Gateway custom domains.
- Invisible bindings to certificates in resources created by API Gateway, such as Application Load Balancers for regional API endpoints.
To resolve this issue, you can try the following steps:
-
Wait for a longer period (potentially up to a week) to ensure all recently deleted certificate information has been fully cleared from ACM's system.
-
Double-check all your API Gateway custom domains across all regions to ensure there are no outdated certificate associations.
-
If you have access to AWS Support, consider opening a ticket. They can help identify any hidden certificate conflicts that might not be visible to you.
-
If you can prove ownership of the domain name and the problem persists with certificates you don't control, contacting AWS Support is recommended.
-
As a last resort, you might need to obtain all certificates for this domain through a single issuer to ensure consistency and avoid conflicts in API Gateway's mTLS configuration.
Remember, for each subject in the certificate, API Gateway allows only one issuer for mutual TLS domains. Ensuring all your certificates come from the same Certificate Authority for this domain should resolve the conflict.
Sources
How to turn on mutual TLS authentication for your REST APIs in API Gateway - Amazon API Gateway
How to turn on mutual TLS authentication for your HTTP APIs in API Gateway - Amazon API Gateway
Relevant content
asked 3 years ago
