Error permission denied certificates | OPC UA IIoT Flex Server

I am using the package "node-red-contrib-iiot-opcua".

The problem is that when I try to deploy a flow I get the problem that you can see in the following screenshot. I don't know how to fix it.

The flow is working on a Raspberry with Raspbian GNU/Linux 9 (stretch). My Node-RED version is "0.20.0" and mi Node version is 10.5.3.

Thank you!

So what user and what are the permissions on the file it is complaining about?

I'm newbie and I do not know how to check that. But I'm using the raspberry with the default user

cd into the directory and then list the files with
ls -l

The user that you are running Node-RED as needs to have permission to read the file.
Here's a page that will explain unix permissions:
https://wiki.archlinux.org/index.php/File_permissions_and_attributes

If you look at the directory listing and the user you are using to run Node-RED can't access the file then try changing the owner and permissions so that they can read the file.

Exactly what command did you use to install the node?

I solved it by using: "sudo chmod -R 777 " followed by the path

chown pi:pi might have been better.

1 Like