# Crypto/rsa: verification error

**URL:** <https://hub.mender.io/t/crypto-rsa-verification-error/2658>\
**Category:** General Discussions\
**Created:** [October 13, 2020, 5:23am UTC](https://hub.mender.io/t/crypto-rsa-verification-error/2658 "2020-10-13T05:23:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pei.cei](https://avatars.discourse-cdn.com/v4/letter/p/77aa72/32.png) [@pei.cei](https://hub.mender.io/u/pei.cei)\
**Post date:** [October 13, 2020, 5:23am UTC](https://hub.mender.io/t/crypto-rsa-verification-error/2658/1 "2020-10-13T05:23:57Z")

</div>

Hello,

in useradm, I am trying playing with jwt and I am getting this error : crypto/rsa: verification error

any clue?

Regards,  
Pei

---

<div class="post-metadata">

**Author:** ![pei.cei](https://avatars.discourse-cdn.com/v4/letter/p/77aa72/32.png) [@pei.cei](https://hub.mender.io/u/pei.cei)\
**Post date:** [October 13, 2020, 5:28am UTC](https://hub.mender.io/t/crypto-rsa-verification-error/2658/2 "2020-10-13T05:28:09Z")

</div>

I see that in integration folder, a subfolder " /integration/keys/useradm" with private.key is there, any issue with this? I am getting teh verification error ? How do I generate freshly to pass the verification?

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [October 13, 2020, 1:40pm UTC](https://hub.mender.io/t/crypto-rsa-verification-error/2658/3 "2020-10-13T13:40:34Z")

</div>

Hi @pei.cei I don’t have an answer for you. I think we need to see the exact commands you are running, what versions of the sources you have checked out, etc.

@merlin can you help?

---

<div class="post-metadata">

**Author:** ![pei.cei](https://avatars.discourse-cdn.com/v4/letter/p/77aa72/32.png) [@pei.cei](https://hub.mender.io/u/pei.cei)\
**Post date:** [October 14, 2020, 8:15am UTC](https://hub.mender.io/t/crypto-rsa-verification-error/2658/4 "2020-10-14T08:15:41Z")

</div>

I found the cause, I was using two different keys for getting the token. When started using the same key it is fine. Sorry for the inconvenience.  
Pei
