Appendix - Converting Public Key to PEM Format
jwt-authn
Changing public key generated with ssh-keygen (instructions in appendix) into PEM format
*You need to do this so it’s in the right format to use as the public key to verify a signed JWT.
# reads from file jwtRS256.key.pub
ssh-keygen -f jwtRS256.key.pub -e -m pem
or with openssl
# reads from file jwtRS256.key.pub
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub