Keywords: MEAN - AWS - Technical issue - Secure Connections (SSL/HTTPS)
I’m quite new to the whole webserver thing and have a question about letsencrypt.
Here’s my situation:
I have a lightsail instance from AWS which is running the MEAN stack image.
On this instance, I would like to run 3 different nodejs apps.
Each of these apps needs to have it’s own domain name as well as it’s own SSL certificate.
Now, everything seems to go smooth up until the generating of the SSL certificate.
I set up every app in the virtual hosts and eventually I was able to access each app on the http version of their respective domains.
Once I started using the bncert script however, things started to become a bit weird.
I ran the script for each of the domains, thus generating 3 different certificates and I added them manually in the https-vhost.conf.
For some reason 2 out of 3 apps redirected to https automatically but the third app didn’t. I guess my question is, why is this happening. (except for the fact that I’m obviously doing something wrong)