KEEP YOUR PRIVATE KEY SECURE AND DO NOT SHARE IT PUBLICLY.
openssl genrsa -out private.pem 4096
# It is recommended to use a minimum of 2048
openssl rsa -in private.pem -pubout -outform PEM -out public.pem
ssh-keygen -t rsa -b 4096 -m PEM -f private.pem
# Add -P ""
to bypass password prompt
rm private.pem.pub
# Delete generated public key file
ssh-keygen -f private.pem -e -m PKCS8 > public.pem
cat private.pem
cat public.pem
openssl rsa -text -in private.pem
openssl rsa -pubin -text -in public.pem
https://docs.mia-platform.eu/docs/runtime_suite/client-credentials/jwt_keys
https://connect2id.com/products/nimbus-jose-jwt/openssl-key-generation
https://www.cerberauth.com/blog/rsa-key-pairs-openssl-jwt-signature/
KEEP YOUR PRIVATE KEY SECURE AND DO NOT SHARE IT PUBLICLY.