Search code examples
amazon-web-servicesssl-certificateamazon-route53

Trying to figure out why a websites cert is coming back as another cert that I have


I am trying to setup https for a domain. I created the elastic beanstalk and uploaded my app just fine.

I then purchased the new domain and added an alias to the route 53 hosted zone. enter image description here

I then created a cert for both [the domain].com and *.[the domain].com. enter image description here

I then copied the CNAME values of that cert into the hosted zone for that domain

I then changed the eb config to load balanced in capacity and edited the load balancer configuration to terminate https using the certificate I'd just created enter image description here

So now I can go to the original eb generated url and it's okay with https however when I try going to the new domain that I purchased it reads as insecure. enter image description here

What's weird is that the cert that's displaying for the domain I just purchased is reading as a cert for another domain I own.


Solution

  • Your DNS server may still be pointing to an old IP. Check your domain name with dig or nslookup. You may need to wait for up to 48 hours for DNS routing to straighten out.