-2
誰もsslのhttp-inの代替ノードを知っていますか?私の唯一の選択肢はhttpsサーバとしてnodejを起動することでしょうか?sslインバウンドWebサービスを処理するためのhttp-inノードを探しています
どのような提案も素晴らしいでしょう。
おかげで、デン
誰もsslのhttp-inの代替ノードを知っていますか?私の唯一の選択肢はhttpsサーバとしてnodejを起動することでしょうか?sslインバウンドWebサービスを処理するためのhttp-inノードを探しています
どのような提案も素晴らしいでしょう。
おかげで、デン
あなたは、交換ノードを必要としない(と私はそれがノード-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