How to realize PKI encryption and decryption by OpenSSL
This article mainly shows you "OpenSSL how to achieve PKI encryption and decryption", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "OpenSSL how to achieve PKI encryption and decryption" this article.
Download OpenSSL
What to distinguish between window and linux
Extract the file
Double-click:
Win32OpenSSL-0_9_8l_95895.exe
After installation
\ OpenSSL\ bin\ openssl.exe
Enter the command to generate the private key
Genrsa-out private-rsa.pem
Enter the command to generate the public key
Rsa-in private-rsa.pem-pubout-out public-rsa.cer
The above is all the contents of the article "how to achieve PKI encryption and decryption by OpenSSL". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!