How to transfer the SSL Certificate of IIS to Apache

Source: Internet
Author: User
Tags openssl rsa openssl x509 ssl certificate pfx file

The files exported by IIS are in. pfx format, and the SSL certificates of Apache are. Key and. CRT files. You only need to convert the. pfx file to the. Key +. CRT file and install it on Apache.

Step 1: Download the OpenSSL Software Package http://www.myssl.cn/download/OpenSSL_0.9.8.a_Win32.zip

Step 2: extract the package to the C: \ OpenSSL directory, run cmd.exe to enter the command window, and run:
Cd c: \ OpenSSL
Set openssl_conf = OpenSSL. CNF
OpenSSL PKCS12-In myssl. pfx-nodes-out server. pem
OpenSSL RSA-in server. pem-out server. Key
OpenSSL X509-in server. pem-out server. CRT
(Server. pfx is an IIS exported file. Use OpenSSL to export server. Key and server. CRT)

Step 3: Install the Apache SSL module and SSL certificate according to the Apache installation SSL instructions.

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.