By using AWS re:Post, you agree to the Terms of Use

Setup DNS with SSL on CodeArtifact repo


Hi, I have pointed a CNAME to my CodeArtifact repo and it seems to be working but I am not sure how to make the SSL work properly. I have a wildcard certificate from ACM installed to the domain but when I checked, the certificate in CodeArtifact repo doesn't match my domain. I don't see any documentation about setting up DNS+SSL on CodeArtifact repo so any help will be highly appreciated. Thanks!

1 Answers


With your CNAME, DNS will answer with CodeArtifact IP addresses. However when a client negotiate TLS he will get a certificate from CodeArtifact server which does not contain your domain, thus TLS verification will fail.

As for now there is no way to modify CodeArtifact certificate to include your domain or setup a custom domain name.

Best regards,

answered 12 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions