1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Node-REDのhttp requestノードで自己証明書を利用する

Posted at

目的

Node-REDの[http request]ノードで自己証明書を利用できるように設定する。

事象

Node-REDの[http request]ノードで自己証明書を使用しているサーバにアクセスしようとした場合、次のエラーが発生することがある。

Error: self signed certificate in certificate chain
SELF_SIGNED_CERT_IN_CHAIN

解決方法

Node-REDにCA証明書を登録し、[http request]ノードから参照できるようにする。

  1. [http request]ノード[プロパティ]を開く。
  2. [SSL/TLS接続を有効化]チェックボックスにチェックを付ける。
  3. [TLS設定]プルダウンが表示されるので、右にある[鉛筆アイコン]ボタンをクリックする。
  4. [ローカルファイルの秘密鍵と証明書を使用]チェックボックスのチェックを外す。
  5. [CA証明書]の右にある[ファイル]ボタンをクリックする。
  6. ローカルPCに保管されている[CA証明書]ファイル(cacert_yyyymmdd.crtなど)を指定する。
  7. [サーバ証明書を確認]チェックボックスのチェックを外す。
  8. [追加]ボタンをクリックする。
  9. [TLS設定]プルダウンに[TLS設定]が1つあり、選択されていることを確認する。
  10. [完了]ボタンをクリックする。
  11. [デプロイ]ボタンをクリックする。
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?