What is OpenSSL?
OpenSSL is a well-known open source Cryptography Toolkit for secure communications, including key cryptographic algorithms, common passwords, and certificate encapsulation capabilities.
1. OpenSSL website
Official: https://www.openssl.org/source/
2. Windows installation method
The OpenSSL website does not provide a Windows version of the installation package, you can choose other open source platform to provide tools. such as http://slproweb.com/products/Win32OpenSSL.html
As an example of this tool, the installation steps and how to use them are as follows:
2.1 Choose a 32-bit or 64-bit version to download, such as Win64openssl_light-1_0_2h.exe:
2.2 Setting environment variables, such as tools installed in C:\OpenSSL-Win64, will beC:\OpenSSL-Win64\bin;copied to path
2.3 Open the command-line program CMD (run as Administrator), enter the directory where 2_www.domain.com.key, 1_WWW.DOMAIN.COM_CERT.CRT, run the following command
openssl pkcs12 -export -out www.domain.com.pfx -inkey 2_www.domain.com.key -in 1_www.domain.com_cert.crt
For example, key and CRT files are saved in D:\ and run as follows:
Ps:export password does not need to be able to enter directly without entering.
2.4 In D:\ The www.domain.com.pfx file has been generated and you can continue to complete the certificate installation in IIS Manager.
Windows installation uses OpenSSL to create PKS p12 certificates