• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Node-RED: OpcUa Client node
#2
Hello Tad, one word in general about netPI security: some years ago I talked in a thread about the restriction of netPI Docker. netPI Docker is not standard because we disabled some functions because of security reasons . Here is the thread: https://forum.hilscher.com/thread-511.html. One of the restriction was that volume mapping is not possible with netPI Docker, else a container could easily map a host volume or drive into the container ... but this is what we do not want: no access to the Linux Host file system at all to make writing impossible. Also the Node-RED container README speaks about the netPI restrictions: https://hub.docker.com/r/hilschernetpi/netpi-nodered

As next I have to say is that Node-RED is a free and open source software. Even if we as Hilscher have build a Node-RED example container which you are using with several additional and useful Node-RED nodes installed like the OPC UA Client, we are not responsible for the proper function of the open source. Each of the nodes used has its own developer homepage on the internet where the developer explains how to use a node and how to get it to run. Also there are sometimes sessions where users are discussing problems. So it may be that your problem is also a problem of others, but I don't know because I don't know the OPC UA client node. I have just used it once. The official homepage of the OPC UA client node is located here: https://flows.nodered.org/node/node-red-contrib-opcua.

What I can say at this stage is that the problem your png files show has nothing to do with netPI Docker volume mapping procedure. For me it seems that the OPC UA client node tries to generate first of all a self signed certificate using the Linux command:
"openssl req -new -sha256  -text  -extensions v3_selfsigned  -config "/root/.config/node-opcua-default-nodejs/PKI/own/openssl.cnf.tmp" -key "/root/.config/node-opcua-default-nodejs/PKI/own/private/private_key.pem" -out "/root/.node-red/node_modules/node-opcua-client/certificates/client_selfsigned_cert_2048.pem.csr" -subj "/C=FR/L=Orleans/O=Sterfive/CN=NodeOPCUA-Client@NTB827EBB5D102"
but it failes since the certificate file cannot be created: "/root/.node-red/node_modules/node-opcua-client/certificates/client_selfsigned_cert_2048.pem.csr". It seems that the folder "/root/.node-red/node_modules/node-opcua-client/certificates/" in the container does not exists. So you can use the embedded console function of this container an look if the folder is present or not. And if not then create it and try it again.

Also you can see on the OPC UA client homepage that the latest version of the node is 0.2.222. So in Node-RED use the "manage palette" function in the top right main menu to update the OPC UA client node to the latest available version. Maybe this version works better ... anyway you have the latest version then.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Node-RED: OpcUa Client node - by tad - June-8th-2021, 04:05 AM
RE: Node-RED: OpcUa Client node - by Armin@netPI - June-8th-2021, 05:26 AM
RE: Node-RED: OpcUa Client node - by tad - June-9th-2021, 04:09 AM
RE: Node-RED: OpcUa Client node - by Armin@netPI - June-9th-2021, 06:49 AM
RE: Node-RED: OpcUa Client node - by tad - June-9th-2021, 08:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Node Red configuration LucioFiam 3 1,831 November-30th-2022, 05:14 PM
Last Post: Armin@netPI
  secure node-red with a username and password Christian_Rau 3 3,056 December-3rd-2021, 11:06 AM
Last Post: Armin@netPI
  cifx0 and Node-Red fabio1975 5 3,316 November-22nd-2021, 01:13 PM
Last Post: Armin@netPI
  Node red web UI issue DSongra 3 3,315 July-22nd-2021, 02:47 PM
Last Post: Armin@netPI
  Node-RED 'projects' possible on netPI? JG_KIT 2 2,449 July-20th-2021, 01:11 PM
Last Post: JG_KIT
  Accessing a modbus device connected to RTE port from Node-RED tad 10 8,313 October-2nd-2020, 07:21 AM
Last Post: Armin@netPI
  5 x NL 50-Mpi and Node Red like colector data? Jotarod 4 4,093 September-14th-2020, 01:59 PM
Last Post: Armin@netPI
  Node-Red "http in"-Node not working DWxPro 8 7,934 June-19th-2020, 01:12 AM
Last Post: DWxPro
  using node.js on NIOT-E-TP151-EN-RE COswald 9 10,823 May-20th-2020, 12:54 PM
Last Post: Armin@netPI
  Error when using a node 'OpcUaServer' tad 6 5,387 May-12th-2020, 08:35 AM
Last Post: tad

Forum Jump:


Users browsing this thread: 1 Guest(s)