Identity confirmation error: "No such file or directory"

After running the command “identity authorize storagenode email:characterstring”, then try to confirm the idenitity with the command “grep -c BEGIN ~/.local/share/storj/identity/storagenode/ca.cert” it gives an error “No such file or directory”, however checking the directory, “/.local/share/storj/identity/storagenode/” the file ca.cert is there. Below are the result of the previous steps prior confirming the identity:
“Found a key with difficulty 37!
Unsigned identity is located in “storj/identity/storagenode”
Please move CA key to secure storage - it is only needed for identity management and isn’t needed to run a storage node!

“Identity successfully authorized using single use authorization token.
Please back-up “storj/identity/storagenode” to a safe location.”


Hi. Have you checked the access rights?
User, group, sudo etc.

And what should be the access rights? Everything was installed using root.
-rw-r–r-- 1 root root 558 Oct 25 14:44 ca.1635198282.cert
-rw-r–r-- 1 root root 1088 Oct 25 14:44 ca.cert
-rw------- 1 root root 241 Oct 25 14:01 ca.key
-rw-r–r-- 1 root root 1096 Oct 25 14:44 identity.1635198282.cert
-rw-r–r-- 1 root root 1626 Oct 25 14:44 identity.cert
-rw------- 1 root root 241 Oct 25 14:01 identity.key

I figured it out. Thanks.

Was it the Grep command with sudo?
Just am curious.

For some reason the identity certificates was installed in this location:
Unsigned identity is located in “storj/identity/storagenode”, not the default:
“/root/.local/share/storj/identity/storagenode”, so what I did just move it there.

1 Like

Sounds that this was your solution, not the post before. :nerd_face::v:t2: Great, that you’ve figured it out.