2017-09-13 6 views

答えて

0

あなたは、交換ノードを必要としない(と私はそれがノード-REDから独立した独自のHTTPSサーバのインスタンス化する必要があるだろうとして、いずれかがあるとは思わないが)、あなただけのノードを設定しますHTTPS接続を待機する-RED。

HTTPSでリッスンするようにNode-REDを設定する方法は、settings.js(通常は〜/ .node-redで、Node-REDの最初の数行に含まれています)にあります

// 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') 
//}, 
... 

詳細は私のブログの記事で見つけることができます)ログhere

関連する問題