AWS Wildcard Certificate

0

does ".example.com" protects "www..example.com" ?

2 Answers
0
Accepted Answer

does "*.example.com" protects "www.*.example.com" ?

No, it doesn't. "*.example.com" does not protect such as www.login.example.com as stated in the following page.

https://docs.aws.amazon.com/acm/latest/userguide/acm-certificate.html

When you request a wildcard certificate, the asterisk (*) must be in the leftmost position of the domain name and can protect only one subdomain level. For example, *.example.com can protect login.example.com and test.example.com, but it cannot protect test.login.example.com.

profile picture
HS
answered 6 months ago
profile pictureAWS
EXPERT
reviewed 6 months ago
  • is it possible to give www.*.sub.example.com as wildcard ? Otherwise i will have create for every subdomain

  • When you request a wildcard certificate, the asterisk (*) must be in the leftmost position of the domain name

    Therefore, the answer is NO. www.*.sub.example.com is not a valid wildcard domain name.

    If you want to protect such as www.app1.sub.example.com, www.app2.sub.example.com, yes you must issue each ACM certificate and register each DNS record to protect your domain.

0

Is it possible to have something like this in a certificate, Where each domain will be redirected to their separate s3 buckets

answered 6 months ago
  • The certificate is able to validate the specified domains, but an S3 bucket does not support a custom domain.

    You can add a CNAME record with my-bucket.main.com that points to my-bucket.s3.ap-northeast-1.amazonaws.com to implement redirection, but SSL will not be valid.

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