# Verify RS256-signed JWT tokens

**URL:** <https://community.auth0.com/t/verify-rs256-signed-jwt-tokens/103303>\
**Category:** Get Help\
**Tags:** oauth-2-0, protocols\
**Created:** [March 24, 2023, 10:56pm UTC](https://community.auth0.com/t/verify-rs256-signed-jwt-tokens/103303 "2023-03-24T22:56:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![igor.tretyakov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/igor.tretyakov/32/45757_2.png) [@igor.tretyakov](https://community.auth0.com/u/igor.tretyakov)\
**Post date:** [March 24, 2023, 10:56pm UTC](https://community.auth0.com/t/verify-rs256-signed-jwt-tokens/103303/1 "2023-03-24T22:56:45Z")

</div>

Hi.

The article ([Validate JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens/validate-json-web-tokens#verify-rs256-signed-tokens)) says about Public Key. But this key is missing there.

 ![Снимок экрана 2023-03-25 в 00.33.58](https://global.discourse-cdn.com/auth0/original/3X/0/e/0e0ac86d2425cc0c674a72532b1b8f6fe3754a43.png)

Also I checked the Signing Certificate and got `OpenSSL::PKey::RSAError: Neither PUB key nor PRIV key: nested asn1 error`. This error means invalid public key.

 ![Снимок экрана 2023-03-25 в 00.55.45](https://global.discourse-cdn.com/auth0/original/3X/9/9/9949d801a95cdad2c44e3521b3e717606a418426.jpeg)

Could you help me?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 29, 2023, 7:36pm UTC](https://community.auth0.com/t/verify-rs256-signed-jwt-tokens/103303/3 "2023-03-29T19:36:13Z")

</div>

Hi @igor.tretyakov,

Welcome to the Auth0 Community!

The “Signing Certificate” field is your public key. We also recommend that you get the Public Key from your tenant’s JWKS here: `https://{yourDomain}/.well-known/jwks.json`, and it’s available at `https://{yourDomain}/.well-known/pem` too.

I just tested it and it works correctly for me via all three options listed above. It may simply be a formatting issue with the script you are using. I also suggest [JWT.io](http://JWT.io) for debugging.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 22, 2023, 6:39pm UTC](https://community.auth0.com/t/verify-rs256-signed-jwt-tokens/103303/4 "2023-06-22T18:39:22Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
