Creating JWT with Key Explorer

Key Explorer https://keystore-explorer.org/ is a very useful UI tool that can generate keys and use them in many ways, here is how we can create a signed JWT token:


Previously I showed how we can programatically generate the JWT token: https://alexrait.blogspot.com/2021/08/configuring-jwt-authentication-with.html, now we can see how it is done with this tool

Key Explorer Main Screen

File->New create a pkcs12 store

Key Explorer Generaring New Store

Generate a new RSA key pair: Tools-> Generate Key Pair

Key Explorer Generating New Key Pair

Add the certificate details

Key Explorer Adding Certificate Details

Proceed, set some alias name and password

Right click the key and choose to sign JWT

Key Explorer Choosing to Sign JWT

Fill JWT details such as subject and claims, then click ok

Key Explorer filling JWT data

Now you can see the JWT itself

Key Explorer viewing the JWT

Post a Comment

Previous Post Next Post