# Https for Node-RED

**URL:** https://discourse.nodered.org/t/https-for-node-red/8300
**Category:** General
**Created:** [23 February 2019 14:57 UTC](https://discourse.nodered.org/t/https-for-node-red/8300 "2019-02-23T14:57:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![XYZ](https://avatars.discourse-cdn.com/v4/letter/x/b5a626/32.png) [@XYZ](https://discourse.nodered.org/u/XYZ)
#### Post date: [23 February 2019 14:57 UTC](https://discourse.nodered.org/t/https-for-node-red/8300/1 "2019-02-23T14:57:33Z")

</div>

How can we add SSL certificate for the Node-RED server?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [23 February 2019 15:28 UTC](https://discourse.nodered.org/t/https-for-node-red/8300/2 "2019-02-23T15:28:22Z")

</div>

Literally the first result...

 ![SmartSelect_20190223-152525_Google](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/00f0dcad12505fc56db2df646d9b56c1c974be42.jpeg)  
[http://www.steves-internet-guide.com/securing-node-red-ssl/](http://www.steves-internet-guide.com/securing-node-red-ssl/)

---

<div class="post-metadata">

### Author: ![thatcadguy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/thatcadguy/32/5273_2.png) [@thatcadguy](https://discourse.nodered.org/u/thatcadguy)
#### Post date: [23 February 2019 15:38 UTC](https://discourse.nodered.org/t/https-for-node-red/8300/3 "2019-02-23T15:38:10Z")

</div>

The default settings.js has everything you need, you just need to uncomment some stuff and put in the location of your certificate and private key pem files.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [23 February 2019 17:53 UTC](https://discourse.nodered.org/t/https-for-node-red/8300/4 "2019-02-23T17:53:14Z")

</div>

The following page on my blog should point you in the right direction:

> **[How to create secure certificates](https://it.knightnet.org.uk/kb/nr-qa/https-valid-certificates/)**
>
> Generate certificates for Node-RED that are trusted by all modern browsers. This will let you access Node-RED (and other services) over an encrypted HTTPS link.

It doesn't just show you how to get certs but also how to configure Node-RED and some other things.
