Open SSL 生成密钥对

openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048

openssl rsa -pubout -in private_key.pem -out public_key.pem

你可能感兴趣的:(Open SSL 生成密钥对)