I currently have a MEAN stack app powered byBitnami running on an Ec2 instance. The site works fine except for https.
What I've done so far:
checked instance to ensure port 443 is enabled created certificate using openssl. I now have 3 files *.crt, *.key, *.csr. I put my certificate files in /opt/bitnami/apache2/conf/ directory. edited 3 lines in /opt/bitnami/apache2/conf/extra/httpd-ssl.conf to point to the correct files. restarted server using the command: /opt/bitnami/ctlscript.sh restart
Now when I go to https://my-site-name I just get an error saying the connection was unexpectedly closed.
This is my first time deploying to AWS Certified and I'm not really sure where to go from here. I don't know what steps I missed or even how to go about finding the root of the problem.