1

I'm pretty new to AWS, but I hosted my MERN stack application via Elastic Beanstalk and added in the SSL certificate to the classic load balancer.

The steps I took are below:-

1) Successfully launch MERN Stack application via Elastic Beanstalk

2) Issue an SSL certificate with Certificate Manager enter image description here

3) Add an SSL port at 443 to my Classic Load Balancer enter image description here

I found all of these instructions via this blog and found similar(the same) advice on the aws docs as well, but my site is still insecure..

enter image description here

Any pointers on what I may be missing out? I was looking into configuring things with .ebextensions, but I'm scared of breaking things irrevocably because the site is currently live. enter image description here

Thanks a ton for your help!

9
  • What happens if access your site with https:// instead of http:// ? Commented Nov 28, 2018 at 6:03
  • Oh cool, it works! For ashcodes.com, it works, but for ashcodes.com I get a not secure message Commented Nov 28, 2018 at 6:06
  • I have two ssl certificates registered (one for www.ashcodes.com and ashcodes.com, while the other uses a wildcard, aka *.ashcodes.com) but the one with the wildcard is connected to the load balancer Commented Nov 28, 2018 at 6:07
  • As long as you have a wildcard ssl you can use that anywhere; no need to use separate certificates; since it works you need to find a way to redirect http traffic to https Commented Nov 28, 2018 at 6:09
  • gotcha, thanks a bunch for pointing that out! would I need to use aliases to do this? Commented Nov 28, 2018 at 6:12

1 Answer 1

1

Most probably SSL has been enabled but you’re still accessing your website via http://. Try to access it with https:// and most probably it will work. If that’s the case, you need to redirect your HTTP traffic to HTTPS

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.