How to move Verisign SSL certificate from Microsoft IIS Into F5 Big-IP

Today I have struggled about how to import SSL Certificate into F5,  I have look around from the internet and come with a solution. I will share it to you below. Here are the steps and solution:

Problem

1.How to move certificate from IIS to F5 Big-IP
2.Move certificate from IIS to F5 big-IP
3.Export certificate
4.Import certificate

My Resolution:

To move an SSL certificate from a Microsoft IIS 5.0 / 6.0 to F5 Big-IP server, perform the following steps:

Step 1: Create a Microsoft Management Console (MMC) Snap-in for managing certificates

Create a Microsoft Management Console (MMC) Snap-in for managing certificates, as described in solution SO6127.

 

Step 2: Export SSL certificate from Microsoft IIS 5.0 / 6.0

1.  Open the Certificates (Local Computer) snap-in you added, and select Personal > Certificates
2.  The Subject field of the certificate lists the Common Name (CN). (Click Tools > Internet Options > Content to view the Common Name if you are not sure)
3.  Right-click on the desired certificate and select All Tasks > Export. The Certificate Export Wizard opens
4.  Select Yes, export the private key
5.  Click Next
6.  In the Export File Format window, ensure the option for Personal Information Exchange  – PKCS#12 (.pfx) is selected
7.  Select Include all certificates in the certificate path if possible and then click Next. (If you do not select the Include all certificates in the certificate path if possible option, your server may not recognize the issuer of the certificate, which may result in security warnings for your clients.
8.  De-select Require Strong Encryption. (This may cause a password prompt every time an application attempts to access the private key or it may cause IIS to fail).
9.  Click Next
10.  Enter and confirm a password to protect the PFX file and click Next
11.  Choose a file name and location for the export file (do not include an extension in your file name; the wizard automatically adds the PFX extension for you)
12.  Click Next
13.  Read the summary and verify that the information is correct. Pay special attention to where you saved the file. Ensure that the information is correct
14.  Click Finish

 

Step 3: Convert PFX file to compatible files for F5 Big-IP

1. Move the .pfx file to the F5 Big-IP server
2. To extract the private key, run the OpenSSL command:  openssl pkcs12 -in <filename>.pfx  -nocerts -out key.pem
3. To extract the certificate (public key), run the OpenSSL command:  openssl pkcs12 -in <filename>.pfx -clcerts -nokeys -out cert.pem

 

Step 4: Install CA Certificate

Secure Site
If you are installing a Secure Site Certificate, you need to first install the Secure Site Intermediate CA Certificate.

Secure Site Pro
If you are installing a Secure Site Pro Certificate, you need to first install the Secure Site Pro Intermediate CA Certificate.

1. Copy the entire text of the Intermediate CA Certificate from the VeriSign Web site, including the

—–BEGIN CERTIFICATE—– and —–END CERTIFICATE—– lines.

2. Paste into a file named intermediate-ca.crt using Vi or Notepad. Do not use Microsoft Word or other word processing programs that may add characters.  Do not to include any leading or trailing whitespace before the beginning and ending hyphens.
3. Place the intermediate-ca.crt file in the directory:  /config/bigconfig/ssl.crt
4. The full path to the file is:  /config/bigconfig/ssl.crt/intermediate-ca.crt

In a redundant system, the keys and certificates must be in place on both controllers before you configure the SSL Accelerator. You must do this manually; the configuration synchronization utilities do not perform this function.

 

Step 5: Install SSL certificate for F5 Big-IP

Note: The private key & public key file that was extracted as a .pfx file (performed on Step 3) including the VeriSign Intermediate CA will be place on F5 Bip-IP server. On the F5 Big-IP, create an SSL proxy (or edit an existing one) and configure it to use the certificate and key files.

 

avatar
We are teams that have the same hobbies in Information Technologies and have experienced in many fields regarding Information Technologies .

Related Articles

Email
Print