Installing SSL certs with nginx on Amazon EC2

Posted by Ethan on Server Fault See other posts from Server Fault or by Ethan
Published on 2014-05-31T15:09:54Z Indexed on 2014/05/31 15:30 UTC
Read the original article Hit count: 291

Filed under:
|
|
|

I finally got a cert from an authority and am struggling to get things working. I've created the appropriate combined certificate (personal + intermediate + root) and nginx is pointing to it. I got an elastic IP and connected it to my EC2 instance. My DNS records point to that IP. But when I point the browser to the hostname, I get the standard "Connection Untrusted" bit, with ssl_error_bad_cert_domain. Port 443 is open - I can get to the site over https if I ignore the warning. Weird thing is, under technical details, it lists the domain I tried to access as valid!

When I try and diagnose with ssl testing sites, they don't even detect a certificate!

What am I missing here?

domain is yanlj.coinculture.info. Note I've got coinculture.info running on a home server without a dedicated IP and have the same problem, but I'll be moving that to the same EC2 instance as soon as I figure this thing out. I thought the elastic IP would solve things but it hasn't

© Server Fault or respective owner

Related posts about nginx

Related posts about amazon-ec2