A
A
Andrey Okhotnikov2020-03-22 13:46:19
Node.js
Andrey Okhotnikov, 2020-03-22 13:46:19

How to add an ssl certificate to a MERN site?

There is a site. I want to add an ssl certificate for it. How to add a certificate correctly so that links with http and https work?
Which of the data below is generally required
I have in text form
1) Certificate
2) Root certificate
3) Intermediate certificate
4) Request for a certificate
5) Private key


The data was provided to me in reg.ru, I rent a vps server from them.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
ky0, 2020-03-22
@tsepen

If the private key was also provided to you by reg. ru - remake without giving anything to anyone except CSP. Or use the automated and free option from Let`s Encrypt.
How to install the certificate - depends on the web server, it's easy to google. The standard solution in 2020 is to set up nginx as a reverse proxy, followed by your node, react or whoever you have.

D
Dimonchik, 2020-03-22
@dimonchik2013

digitalocean setup ssl certificate
in google

I
Igor Vorotnev, 2020-03-22
@HeadOnFire

https://nodejs.org/en/knowledge/HTTP/servers/how-t...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question