Convert SSL Certificate from Apache to IIS

Problem: You have generated a CSR using OpenSSL and submitted it to a CA. Your certificate has been issued, but you now want to import it into Windows for use with IIS.

Solution: (run the commands from Linux CLI):

1. Convert the received public key from its PKCS7 format to PEM format:

openssl pkcs7 -outform PEM -in public.p7b -out public.pem -print_certs

 

2. Combine the public keys and the private key into a password-protected PKCS12 file:

openssl pkcs12 -export -out publicandprivate.pfx -in public.pem -inkey private.key

  • 21 Users Found This Useful
Was this answer helpful?

Related Articles

What is autoCSR ?

Let us create the CSR for you! AutoCSR is a concept application developed by Globe Hosting, Inc....

Making changes to your Globe SSL order and/or certificate information

In order to make changes to your GlobeSSL account information we will require the following: 1....

Confirmation email

When you have successfully completed the order and the payment has beeen received, we will send...

GlobeSSL Technical FAQ

What do I need to enroll for an SSL Certificate for my webserver? You need the following: •...

30 Days Refund Policy

GlobeSSL stands here to control and supervise regular and normal practices and policies over...