i dont know how to ask the question but here is my need. In my project i have :
- The frontend with reactJs.
- The backend with nodeJs, it uses https locally.
What are the steps to assure https connexion for the whole application after build ?
i dont know how to ask the question but here is my need. In my project i have :
What are the steps to assure https connexion for the whole application after build ?
To ensure HTTPs connection for the whole application you need an SSL certificate. Using Lets Encrypt you will be able to generate an SSL Certificate for your application.
Basically, certbot is a tool used to automate this process, if using NGINX using python3-certbot-nginx package will help in automatically generating an SSL certificate for your domain.
Note: I have only used NGINX & Certbot to achieve the same in my projects/apps.
Since in the context of MERN/Node.js applications,
I just recently wrote a blog about An in-depth guide to deploying your Node.js/MERN application to production using AWS with Custom Domain & SSL
You can refer to it, the steps can be reproduced in any Ubuntu/Linux instance.
Links to Blog:
More Ref Links: https://gist.github.com/bradtraversy/cd90d1ed3c462fe3bddd11bf8953a896