heh guys, i have a question, do i need ssl cert fo...
# orm-help
t
heh guys, i have a question, do i need ssl cert for node server? if so how can i do it
a
Let's Encrypt allows you to generate free ssl certs for a domain name if you have one. https://letsencrypt.org/
SSL is a good option to have. You don't want anyone to see what is going on between the backend and a frontend. But you would usually have Nginx handle the SSL part. As Node isn't the best with CPU intensive processing, and SSL Encryption can be very CPU intensive. Also using Nginx allows you to reverse proxy your Node port,
3000
or whatever you have it on to port
80
. So that someone can't figure out what port your Node process is running on.
t
i have the private key and cert, i generate them using certbot
but i cant find a way to activate them
a
but i cant find a way to activate them
There are quite a lot of resources on how to get enable SSL Encryption working in Nginx on Google. Which have you tried?
t
ya there is a lot tutorial on ngix ssl but can i do it without ngix?
a
Okay then. What resources have you used to configure Node for SSL then?
t
ok, i will read it thank you
i am unaware that i can ssl nodejs
a
You can. It's just bad. Or not recommended
t
ok, after this i will look at ngix if this is bad
👍🏻 1