PhouvanhKCSV
3/26/2018 - 5:27 AM

How to generate JWT RS256 key

How to generate JWT RS256 key

ssh-keygen -t rsa -b 4096 -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub