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
File->New create a pkcs12 store
Generate a new RSA key pair: Tools-> Generate Key Pair
Add the certificate details
Proceed, set some alias name and password
Right click the key and choose to sign JWT
Fill JWT details such as subject and claims, then click ok
Now you can see the JWT itself
Tags
cryptography