Jump to content

hchucky

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by hchucky

  1. On 6/13/2018 at 5:21 AM, ebnerjoh said:

    I tried now to create the keys within the docker, still the same result.

     

    Do I need a special program that Node Red is able to read the certificate? I need to uncoment this "fs" setting, maybe it is this?

     

    Br,

    Johannes

    I just struggled through this myself earlier today.  I used the guide here: http://www.steves-internet-guide.com/securing-node-red-ssl/

     

    I created the certs in the same directory as the settings.js file and used the paths listed below in the config.

     

        key: fs.readFileSync('/data/node-key.pem'),
        cert: fs.readFileSync('/data/node-cert.pem')

     

    I would recommend un-commenting  the "requireHttps: true" line in the settings file and make sure you add a comma after it.

     

    Also don't forget to un-comment the var fs = require("fs"); line near the top of the config.

     

    Best of luck!

    HC

     

     

×
×
  • Create New...