Use a non AWS issued certificate for API Gateway with mTLS

0

Hello

I want to use an imported certificate for TLS for my custom domain in API Gateway, and enable mTLS The environment is all configured with Terraform I've imported the certificate into ACM (Publically trusted cert), but i can't enable mTLS without using a OwnershipVerificationCertificate, which it seems can only be issued by AWS

Why is this needed only when mTLS is selected, it doesn't seem to have any bearing on domain ownership if we use mTLS or not? Can you not use the pubicaly trusted certificate imported into ACM, as that is already proof that we control the domain

The issue for us, is this will then put a manual step in to renew this OwnershipVerificationCertificate certificate, which of course will need to be monitored for expiry (the imported certs use ACME to renew, so can be automated)

Hopefully i'm not understanding this fully, else it seems unnecessarily complex

6개 답변
0

Thank you for the link, but i'm afraid that doesn't answer my question

Can we answer why this is needed? and if we are able to use our imported public certificate as the OwnershipVerificationCertificate

답변함 3달 전
0

Hello,

API Gateway mandates the provision of an "ownership verification certificate" alongside the server certificate. This certificate is exclusively utilized to confirm domain ownership and isn't involved in the TLS handshake process. This certificate must be issued by an AWS-trusted certificate authority such as ACM. Even if a publicly-trusted certificate is employed for the server, API Gateway requires the ownership certificate to validate domain control. It's important to note that the ownership certificate is distinct from the server/client certificates utilized in the TLS handshake and is solely utilized to demonstrate domain ownership to API Gateway.

I hope this one provides more clarity to you

Thanks

답변함 3달 전
0

Thanks for responding

Just to confirm, when you say "This certificate must be issued by an AWS-trusted certificate authority such as ACM", that i'm able to use an imported (i.e. not issued by ACM) a publicly trusted certificate to ACM for the "ownership verification certificate"? but it can't be the same cert as the one used for TLS?

I've tried doing this, but still getting the following error: "BadRequestException: Invalid ownershipVerificationCertificate. OwnershipVerificationCertificate should be a public ACM certificate."

Is this a problem with the cert i'm trying to import?

Thanks

답변함 3달 전
0

I'd also be interested to know why the "ownership verification certificate" is only required when mTLS is enabled, i don't understand why mTLS would require the domain be validated

답변함 3달 전
0

Would anyone be able to help with this?

Thanks David

답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠