2017-09-13 1 views

Antwort

0

Sie keinen Ersatzknoten brauchen (und ich glaube nicht, dass es welche gibt, wie es seine eigenen HTTPS-Server unabhängig von Node-RED müßte instanziiert), die Sie gerade Knoten konfigurieren -RED, um auf HTTPS-Verbindungen zu warten.

Die Konfiguration von Node-RED zum Abhören von HTTPS erfolgt im settings.js (im Node-RED-Benutzerverzeichnis, das normalerweise ~/.node-rot ist und in den ersten Zeilen des Node-RED enthalten ist) log)

// The `https` setting requires the `fs` module. Uncomment the following 
// to make it available: 
//var fs = require("fs"); 
... 
// The following property can be used to enable HTTPS 
// See http://nodejs.org/api/https.html#https_https_createserver_options_requestlistener 
// for details on its contents. 
// See the comment at the top of this file on how to load the `fs` module used by 
// this setting. 
// 
//https: { 
// key: fs.readFileSync('privatekey.pem'), 
// cert: fs.readFileSync('certificate.pem') 
//}, 
... 

Weitere Details finden Sie in meinem Blogbeitrag here

finden
Verwandte Themen