openssl RSA密钥生成|RSA密钥对生成|密钥生成批处理工具
程序员文章站
2022-04-21 17:04:01
...
openssl.exe genrsa -out pem/private_key.pem 1024 openssl.exe rsa -in pem/private_key.pem -pubout -out pem/public_key.pem openssl.exe pkcs8 -topk8 -inform PEM -in pem/private_key.pem -outform PEM -nocrypt openssl.exe pkcs8 -topk8 -inform PEM -in pem/private_key.pem -outform PEM -nocrypt -out pem/private_key_pkcs8.pem