- In AWS ACM i have a public certificate which covers example.com and *.example.com
- Our client require a unique/separate certificate for the subdomain test.example.com
- To solve this i have create another ACM public certificate with domain name as test.example.com
- Added subdomain "A" certificate with domain name as test.example.com under route53 records in hosted zone for example.com domain
Question :- In above scenario which certificate will have more priority the one created with domain name test.example.com or *.example.com
Follow up :- How do i validate the certs(to make sure which cert the domain name is using currently).
More specific one should always be used, which is
test.example.com. You can test that you can use any browser, or curl if you want:should give something as the following when cert for
test.example.comis used:otherwise it would be: