Public key not found

Hello.

I'm trying to reuse ssh keys for my node-red projects for the docker instance of the node-red.

I managed to locate the directory where the keys are kept:

/var/lib/docker/volumes/<container-volume>/_data/projects/.sshkeys

and by generating keys figured out that the prefix with the username and underscore is added to your key files:

<username>_<your-key-name>
eg. myUserName_node-red-key

after copying my keys there and remaining them I can see the key in the node-red editor, but the problem is that the public key is not visible.

Node-red is starting without any errors and this is what I can see in the browser console:

Any idea on how to solve this?

I managed to solve this now. It was down to cert files ownership and permissions.