Authorization for identity says successful but when I check says no such file

I’m not very good at this kind of stuff so any help is appreciated.

sudo has a home directory of /root/

So, your keys and certs are located there… as per the screenshot.

Your grep is being executed as the user pi … and that home directory is /home/pi/

There are no keys and certs in that directory, because you created your keys and certs as the root user.

Oh thanks how can I fix this?

Sign the identity certs as root… just re-run the same command with sudo

I see you already did that.


The keys and certs need to be owned by whichever user your storagenode is going to be run as… in the case of Docker, you probably want to leave them where there are as the root user.

There’s no problem with the procedure you followed.

The keys and certs are at

/root/.local/share/storj/identity/storagenode/

That directory is only readable by the root user. So, if you want to see the certs, you’ll need to use sudo:

sudo grep -c BEGIN /root/.local/share/storj/identity/storagenode/identity.cert

Ok so I can go ahead and install docker?

Should be good to go on the identity.