Windows users
1. Install OpenSSL, such as: http://www.chinassl.net/upload/software/win32openssl-0_9_8.rar
2. Find the OpenSSL just installed, open the bin folder under it, and double-click the openSSL.exe file, Execute the program
3. Put the existing RSA private key into the bin folder
4. In the opened openSSL.exe, convert the RSA private key into PKCS8 format, and press Enter. The current interface will directly display the generated result, this result is Private key
command in PKCS8 format : pkcs8 -topk8 -inform PEM -in rsa_private_key.pem -outform PEM -nocrypt
KEY private key format conversion-conversion of existing RSA public and private keys to PKCS8 format
Guess you like
Origin blog.51cto.com/5292158/2597346
Recommended
Ranking