Setting up HTTPS for Node/Express Server
Hi all,
I currently have a Node/Express API that I'm looking to host on a Linux Fedora machine. It currently runs fine off of HTTP (configured to port 80), but I realized that my front-end is HTTPS and thus I also need to set my API to HTTPS. I'm completely lost as to how to begin this process. I understand that I need to obtain a SSL certificate (I looked into Let's Encrypt, a free SSL certificate service), but how do I install the SSL certificate? Does a HTTPS request automatically go to port 433, or do I need to set that up?
I've found plenty of material on setting it up for an Apache web server, but I realized I'm simply running an API on an open port 80.
Technical Details:
- Fedora 28
- Node/Express API
- Domain for the API is hosted through my university
Thanks in advance, and happy to provide more context since this is a very general question that I couldn't find any help on on the internet.