cname name and cname value
cname allows to point a hostname to any other hostname. hostname1 maps to hostname2. Here hostname1 is called cname name and hostname2 is called cname value. cname name can not be root domain name. something.mydom.com works, but mydom.com can not be used to be cname name.
Can use dig command to find cname /cname value pair.
dig checkout.mytest.com
Request a certification in AWS ACM
- request a public certification. Also choose DNS validation
- If record is in AWS route 53, AWS will do validation automatically and issued the certificate
- If record is not in AWS route 53, grab the cname name and cname value provided by the certificate. Create a cname record in your domain registra, and AWS will verify it and issue the certificate
Add certificate to ELB
The default Limit for Certificates per Application Load Balancers is 25
- Select the load balancer.
- On the Listeners and rules tab, choose the text in the Protocol:Port (443) column to open the detail page for the listener.
- On the Certificates tab, choose Add certificate.
- Within the ACM and IAM certificates table, select the certificates to add and choose Include as pending below
- Choose Add pending certificates.
Delete a certificate
- Got to ACM to find that certificate. Check if it is in use. If it is in use, write down which elbs are using it.
- If in use, go to elb. click cetificates, and check that certificate. Then click remove.
- After it is removed from all associated elbs, go back to ACM. Choose the certificate, and click delete