# Identity confirmation error: "No such file or directory"

**URL:** <https://forum.storj.io/t/identity-confirmation-error-no-such-file-or-directory/15827>\
**Category:** troubleshooting\
**Tags:** identity\
**Created:** [October 25, 2021, 10:00pm UTC](https://forum.storj.io/t/identity-confirmation-error-no-such-file-or-directory/15827 "2021-10-25T22:00:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![linuxgeek](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/linuxgeek/32/1131_2.png) [@linuxgeek](https://forum.storj.io/u/linuxgeek)\
**Post date:** [October 25, 2021, 10:00pm UTC](https://forum.storj.io/t/identity-confirmation-error-no-such-file-or-directory/15827/1 "2021-10-25T22:00:39Z")

</div>

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!  
storj/identity/storagenode/ca.key”

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

Thanks.

---

<div class="post-metadata">

**Author:** ![Bivvo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bivvo/32/7825_2.png) [@Bivvo](https://forum.storj.io/u/Bivvo)\
**Post date:** [October 25, 2021, 10:27pm UTC](https://forum.storj.io/t/identity-confirmation-error-no-such-file-or-directory/15827/2 "2021-10-25T22:27:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![linuxgeek](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/linuxgeek/32/1131_2.png) [@linuxgeek](https://forum.storj.io/u/linuxgeek)\
**Post date:** [October 26, 2021, 12:54am UTC](https://forum.storj.io/t/identity-confirmation-error-no-such-file-or-directory/15827/3 "2021-10-26T00:54:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Bivvo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bivvo/32/7825_2.png) [@Bivvo](https://forum.storj.io/u/Bivvo)\
**Post date:** [October 26, 2021, 4:26am UTC](https://forum.storj.io/t/identity-confirmation-error-no-such-file-or-directory/15827/4 "2021-10-26T04:26:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![linuxgeek](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/linuxgeek/32/1131_2.png) [@linuxgeek](https://forum.storj.io/u/linuxgeek)\
**Post date:** [October 26, 2021, 4:50am UTC](https://forum.storj.io/t/identity-confirmation-error-no-such-file-or-directory/15827/5 "2021-10-26T04:50:38Z")

</div>

> [@linuxgeek](#):
>
> Unsigned identity is located in “storj/identity/storagenode”

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.

---

<div class="post-metadata">

**Author:** ![Bivvo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bivvo/32/7825_2.png) [@Bivvo](https://forum.storj.io/u/Bivvo)\
**Post date:** [October 26, 2021, 5:59am UTC](https://forum.storj.io/t/identity-confirmation-error-no-such-file-or-directory/15827/6 "2021-10-26T05:59:07Z")

</div>

> [@linuxgeek](#):
>
> 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.

Sounds that this was your solution, not the post before. 🤓✌🏻 Great, that you’ve figured it out.
