how to install let’s encrypt certificate with express and node.js ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi @4f4cefbb8aa1434c9446051567aea7,
I would assume you are using Nginx as a reverse proxy, am I right? If yes then using Certbot to auto-install certificates should do the trick for you. Just auto-deploy:
Alternatively, you can run the following :
This will generate a certificate for you for your domain. Once you have it, you can add the following to your Nginx reverse proxy configuration:
Where proxy_pass http://localhost:8000/ will have the port of your application.