Windows installation uses OpenSSL to create PKS p12 certificates

Source: Internet
Author: User
Tags what is openssl pfx file


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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.