Ssl – Use Wildcard SSL with Amazon EC2 instance, secure.thedomain.com -> EC2 instance

amazon ec2amazon-web-servicesdomain-name-systemsslssl-certificate

I recently purchased my first wildcard SSL certificate and I am trying to use it to secure the connection between my site (Cent OS 6 VPS) and an Amazon EC2 instance running Ubuntu 12.04.

My primary site currently has a wildcard subdomain configured, *.mysite.com, with which the wildcard SSL is working. I am trying to use the SSL with secure.mysite.com, a CNAME record pointing to my EC2 instance public DNS.

I was able to locate several tutorials on installing SSL certificates on EC2 instances and Route 53 looks promising, but I am not sure which path to start down. I am fairly new to dealing with SSL certificates and this type of DNS configuration.

The EC2 instance's security group includes HTTPS (443) but a ping of port 443 on the instance reveals that it is closed. When I attempt to navigate to https://secure.mydomain.com, I immediately receive a "Web Page Not Available" error – http://secure.mydomain.com works fine (loads the EC2 instance).

Any guidance on this matter would be helpful, thank you!

Best Answer

I was able to accomplish this by installing my SSL onto an Amazon Elastic Load Balancer instance and pointing it to my EC2 instance. Thanks to the folks on Stack Overflow for quickly offering solid advice on the matter.