1
votes

I have configured SSL for our amazon EC2 server. I have configured /etc/apache2/ports.conf and /etc/apache2/sites-available/default-ssl (to listen 443) with the certificate paths and restarted the server. I am unable to view the secured link here: https://ec2-54-217-244-0.eu-west-1.compute.amazonaws.com/

Should I add HTTPS to Inbound in Security groups?

Many thanks

1
Yes, you should make sure you have 443 open to this host in the security group and via iptables if you're using it. You can always test locally to see if it works. curl https://localhostBen Whaley
Thanks Ben, if I make a change though AWS Console (adding the https port to inbound list), will it affect the live site by any chance? Sorry, if this is a stupid question, I am very new to AWS..Sudhamsha Reddy
The live site on port 80? No, it won't affect it. You can just add 443 and it will be open too.Ben Whaley
@SudhamshaReddy You just deleted a question. The problem is most likely console.log.epascarello

1 Answers

0
votes

Yes, by default Security Group denies all traffic to the Instances. If you want to access your Apache server on HTTPS, you will need to add a rule to your Security group to explicitly authorise TCP 443 traffic.

More details are available in the documentation : http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html#security-group-rules