📜  生成 rs256 密钥对 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:40.682000             🧑  作者: Mango

代码示例1
ssh-keygen -t rsa -b 4096 -m PEM -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