Windows 下使用OpenSSL生成RSA公钥和私钥
genrsa -out rsa_private_key.pem 1024 rsa -in rsa_private_key.pem -pubout -out rsa_public_key.pem //最终的公钥文件 pkcs8 -topk8 -inform PEM -in rsa_private_key.pem -outform PEM -out pkcs8_rsa_private_key.pem –nocrypt //最终的私钥文件
2024-02-01 18:28:52
Windows 下使用OpenSSL生成RSA公钥和私钥
genrsa -out rsa_private_key.pem 1024 rsa -in rsa_private_key.pem -pubout -out rsa_public_key.pem //最终的公钥文件 pkcs8 -topk8 -inform PEM -in rsa_private_key.pem -outform PEM -out pkcs8_rsa_private_key.pem –nocrypt //最终的私钥文件