Connect an OPC UA Server with Node-Red inside Homeassistant


I want to connect to a OPC UA Server with Node Red using the Nodes of “node-red-contrib-opcua”.
Node Red ist installed on my RaspberryPi inside Homeassistant.

When trying to connect to the OPC UA Server the node shows the message
“invalid endpoint error: Cannot find private key /roo/.config/node-red-opcia-nodejs/PKI/own/private_key.pem”

I belive that there is a problem with the certificate. The Nodes expects the cerficate in the given path but ist unable to access it cause NodeRed ist running inside the homeassistant dokker.

Do you know an solution how to get it working?