IIS 10 Exporting/Importing SSL Certificates (2024)

Use IIS 10 to export a copy of your SSL certificate from one server and
import and configure it on a (different) Windows Server 2016

Prevent email tampering and phishing with a DigiCert S/MIME certificate.

Buy Now

Windows servers use .pfx files that contain both the public key file (SSL certificate file) and the associated private key file. When you generate the CSR, you create a key pair (public/private). You send the public key to DigiCert (a Certificate Authority), so we can create and issue your SSL certificate. The private key stays on the server you used to generate the CSR.

You need both the public and private keys for an SSL Certificate to function; therefore, if you need to transfer SSL server security certificates from one server to another, you need to create a .pfx backup and include the private key.

If you are looking for a simpler way to transfer your SSL certificates to your Windows server 2016, we recommend using the DigiCert® Certificate Utility for Windows. SeeTransferring a Copy of an SSL Certificate to Your IIS 10 Server.

To transfer a copy of an SSL certificate, do the following:

  1. Use IIS 10 to export/back up the SSL certificate with private key as .pfx file from the Microsoft server where it's installed.

    How to Export/Back Up Your SSL Certificate w/Private Key

  2. Use IIS 10 to import the SSL certificate with private key .pfx file to your (different) Windows server 2016.

    How to Import the SSL Certificate w/Private Key .pfx File

  3. Use IIS 10 to configure your Windows server 2016 to use the SSL certificate.

    How to Configure Your Windows Server 2016 to Use the Imported SSL Certificate

I. How to Export/Back Up Your SSL Certificate w/Private Key

  1. On the Windows server 2016 where the SSL certificate is installed, open the Console.

    In the Windows start menu, type mmc and open it.

  2. In the Console window, in the top menu, click File > Add/Remove Snap-in.

    IIS 10 Exporting/Importing SSL Certificates (1)

  3. In the Add or Remove Snap-ins window, in the Available snap-ins pane (left side), select Certificates and then click Add >.

    IIS 10 Exporting/Importing SSL Certificates (2)

  4. In the Certificate snap-in window, select Computer account and then click Next.

    IIS 10 Exporting/Importing SSL Certificates (3)

  5. In the Select Computer window, select Local computer: (the computer this console is running on), and then click Finish.

    IIS 10 Exporting/Importing SSL Certificates (4)

  6. In the Add or Remove Snap-ins window, click OK.

    IIS 10 Exporting/Importing SSL Certificates (5)

  7. In the Console window, in the Console Root pane (left side), expand Certificates (Local Computer), expand the folder that contains the certificate that you want to export/back up, and then, click the associated Certificates folder.

    Note: Your certificate should be in either the Personal or the Web Hosting folder.

    IIS 10 Exporting/Importing SSL Certificates (6)

  8. In the center pane, right-click on the certificate that you want to export/back up and then click All Tasks > Export.

  9. In the Certificate Export Wizard, on the Welcome to the Certificate Export Wizard page, click Next.

  10. On the Export Private Key page, select Yes, export the private key, and then, click Next.

    IIS 10 Exporting/Importing SSL Certificates (7)

  11. On the Export File Format page, select Personal Information Exchange – PKCS #12 (.PFX) and then check Include all certificates in the certification path if possible.

    Warning: Do not select Delete the private key if the export is successful.

    IIS 10 Exporting/Importing SSL Certificates (8)

  12. On the Security page, do following one of the following options:

    Password: i. Check this box.
    Confirm password: ii. Then, create and confirm the password.
    Password Note:
    This password will be required when you import the certificate w/private key to your (different) Windows server 2016.
    Group or user name i. Check this box
    (recommended) ii. In the field below, select the Active Directory user or group account to which you want to assign
    access to the certificate w/private key.
    iii. Then, click Add.
    Export/Import Note:
    The server from which you export the certificate w/private key must be part of an AD domain.
    The server to which you import the certificate w/private key must be tied to an AD domain with a domain controller (DC).

    IIS 10 Exporting/Importing SSL Certificates (9)

  13. On the File to Export page, click Browse. In the Save As window, locate and select the certificate file that you want to export and then click Save. Finally, on the File to Export page, click Next.

    Make sure to note the filename and the location where you saved your file. If you only enter the filename without selecting a location, your file is saved to the following location: C:\Windows\System32.

    IIS 10 Exporting/Importing SSL Certificates (10)

  14. On the Completing the Certificate Export Wizard page, verify that the settings are correct and then, click Finish.

    IIS 10 Exporting/Importing SSL Certificates (11)

  15. You should receive "The export was successful" message.

    The SSL certificate w/private key .pfx file is now saved to the location that you selected.

II. How to Import the SSL Certificate w/Private Key .pfx File

If you have not yet exported the SSL certificate and its private key as a .pfx file from the server on which the certificate is installed, see How to Export/Back Up Your SSL Certificate w/Private Key.

  1. On the Windows server 2016 where you want to install the SSL certificate, open the Console.

    In the Windows start menu, type mmc and open it.

  2. In the Console window, in the top menu, click File > Add/Remove Snap-in.

    IIS 10 Exporting/Importing SSL Certificates (12)

  3. In the Add or Remove Snap-ins window, in the Available snap-ins pane (left side), select Certificates and then click Add >.

    IIS 10 Exporting/Importing SSL Certificates (13)

  4. In the Certificate snap-in window, select Computer account and then click Next.

    IIS 10 Exporting/Importing SSL Certificates (14)

  5. In the Select Computer window, select Local computer: (the computer this console is running on), and then click Finish.

    IIS 10 Exporting/Importing SSL Certificates (15)

  6. In the Add or Remove Snap-ins window, click OK.

    IIS 10 Exporting/Importing SSL Certificates (16)

  7. In the Console window, in the Console Root pane (left side), expand Certificates (Local Computer), right-click on the Web Hosting folder, and then click All Tasks > Import.

    IIS 10 Exporting/Importing SSL Certificates (17)

  8. In the Certificate Import Wizard, on the Welcome to the Certificate Import Wizard page, click Next.

  9. On the File to Import page, browse to and select the file that you want import and then, click Next.

    Notes: In the File Explorer window, in the file type drop-down, make sure to select All Files (*.*). By default, it is set to search for X.509 Certificate (*.cert;*.crt) file types only.

    IIS 10 Exporting/Importing SSL Certificates (18)

  10. On the Private key protection page, do the following:

    Password: Type the password that you created when the SSL certificate was exported.
    Mark this key as Check this box so that you can back up or export the SSL certificate when needed.
    exportable. Note that a certificate without it's private key does not work.
    Include all extended Check this box.
    properties.

    IIS 10 Exporting/Importing SSL Certificates (19)

  11. On the Certificate Store page, do the following and then click Next:

    1. Select Place all certificates in the following store and click Browse.

    2. In the Select Certificate Store window, select Web Hosting and click OK.

    IIS 10 Exporting/Importing SSL Certificates (20)

  12. On the Completing the Certificate Import Wizard page, verify that the settings are correct and then, click Finish.

  13. You should receive "The import was successful" message.

    The SSL certificate w/private key .pfx file is now saved to the Web Hosting store (folder).

III. How to Configure Your Windows Server 2016 to Use the Imported SSL Certificate

After you've imported the SSL certificate to your Windows Server 2016, you must configure IIS 10 to use the newly imported certificate to secure your website.

  • (Single Certificate) How to configure the Windows server 2016 to use your SSL certificate
  • (Multiple Certificates) How to assign your SSL certificates and configure the server to use them using SNI

(Single Certificate) How to configure the Windows server 2016 to use your SSL certificate

If you have not imported all your SSL certificates, see How to Import the SSL Certificate w/Private Key .pfx File.

  1. On the Windows server 2016 where you imported your SSL certificate to, open Internet Information Services (IIS) Manager.

    In theWindowsstart menu, typeInternet Information Services (IIS) Managerand open it.

  2. In Internet Information Services (IIS) Manager, in the Connections menu tree (left pane), expand the name of the server on which the certificate was installed. Then expand Sites and click the site you want to use the SSL certificate to secure.

    IIS 10 Exporting/Importing SSL Certificates (21)

  3. On the website Home page, in the Actions menu (right pane), under Edit Site, click the Bindings… link.

  4. In the Site Bindings window, click Add.

    IIS 10 Exporting/Importing SSL Certificates (22)

  5. In the Add Site Bindings window, do the following and then click OK:

    Type: In the drop-down list, select https.
    IP address: In the drop-down list, select the IP address of the site or select All Unassigned.
    Port: Type port 443. The port over which traffic is secured by SSL is port 443.
    SSL certificate: In the drop-down list, select your new SSL certificate (e.g., yourdomain.com).

    IIS 10 Exporting/Importing SSL Certificates (23)

  6. Your SSL certificate is now installed, and the website configured to accept secure connections.

    IIS 10 Exporting/Importing SSL Certificates (24)

(Multiple Certificates) How to assign your SSL certificates and configure the server to use them using SNI

If you have not imported all your SSL certificates, see How to Import the SSL Certificate w/Private Key .pfx File.

This instruction explains how to assign multiple SSL certificates using SNI. The process is split into two parts as follows:

  • Assign the First SSL Certificate

  • Assign All Additional Certificates

Assign the First SSL Certificate

Do this first set of instructions only once, for the first SSL certificate.

  1. On the Windows Server 2016 where you imported your SSL certificate to, open Internet Information Services (IIS) Manager.

    In the Windows start menu, type Internet Information Services (IIS) Manager and open it.

  2. In Internet Information Services (IIS) Manager, in the Connections menu tree (left pane), expand the name of the server on which the certificate was installed. Then expand Sites and click the site you want to use the SSL certificate to secure.

    IIS 10 Exporting/Importing SSL Certificates (25)

  3. On the website Home page, in the Actions menu (right pane), under Edit Site, click the Bindings… link.

  4. In the Site Bindings window, click Add.

    IIS 10 Exporting/Importing SSL Certificates (26)

  5. In the Add Site Bindings window, do the following and then click OK:

    Type: In the drop-down list, select https.
    IP address: In the drop-down list, select the IP address of the site or select All Unassigned.
    Port: Type port 443. The port over which traffic is secure by SSL is port 443.
    SSL certificate: In the drop-down list, select your new SSL certificate (e.g., yourdomain.com).

    IIS 10 Exporting/Importing SSL Certificates (27)

  6. Your first SSL certificate is now assigned, and the website configured to accept secure connections.

Assign All Additional SSL Certificates

To assign each additional SSL certificate, repeat the steps below, as needed.

  1. In Internet Information Services (IIS) Manager, in the Connections menu tree (left pane), expand the name of the server on which the certificate was installed. Then expand Sites and click the site you want to use the SSL certificate to secure.

    IIS 10 Exporting/Importing SSL Certificates (28)

  2. On the website Home page, in the Actions menu (right pane), under Edit Site, click the Bindings… link.

  3. In the Site Bindings window, click Add.

    IIS 10 Exporting/Importing SSL Certificates (29)

  4. In the Add Site Bindings window, do the following and then click OK:

    Type: In the drop-down list, select https.
    IP address: In the drop-down list, select the IP address of the site or select All Unassigned.
    Port: Type port 443. The port over which traffic is secure by SSL is port 443.
    Host name: Type the host name that you want to secure.
    Require Server After you enter the host name, check this box.
    Name Indication: This is required for all additional certificates/sites, after you've installed the first certificate and secured the primary site.
    SSL certificate: In the drop-down list, select an additional SSL certificate (e.g., yourdomain2.com).

    IIS 10 Exporting/Importing SSL Certificates (30)

  5. You have successfully assigned another SSL certificate and configured the website to accept secure connections.

Test Your Installation

To verify that the installation is correct, use our DigiCert® SSL Installation Diagnostics Tool and enter the DNS name of the site (i.e. www.yourdomain.com, or mail.yourdomain.com) that you are securing to test your SSL Certificate.

Troubleshooting

If you run into certificate errors, try repairing your certificate trust errors using DigiCert® Certificate Utility for Windows. If this does not fix the errors contact support.

Related Links

  • Apache/OpenSSL Export
  • Exchange 2007 Export
  • Java PFX Import
  • Mac OS X Server Export
  • Microsoft IIS 5/6 Export

SSL Certificates

  • Secure Sockets Layer
  • Check SSL Certificate
  • Purchase SSL Certificates
  • Extended Validation Certificates
  • Multi-Domain
IIS 10 Exporting/Importing SSL Certificates (2024)
Top Articles
Buy Crypto with Credit Card & Debit Card | Easy Instant Delivery & No Hidden Fees | BitPay
How To Buy Ethereum Without ID | Everything You Need To Know
Jail Inquiry | Polk County Sheriff's Office
Calvert Er Wait Time
Places 5 Hours Away From Me
Chicago Neighborhoods: Lincoln Square & Ravenswood - Chicago Moms
Craigslist Cars And Trucks For Sale By Owner Indianapolis
Undergraduate Programs | Webster Vienna
Bhad Bhabie Shares Footage Of Her Child's Father Beating Her Up, Wants Him To 'Get Help'
Jefferson County Ky Pva
Deshret's Spirit
Nieuwe en jong gebruikte campers
Garrick Joker'' Hastings Sentenced
The Rise of Breckie Hill: How She Became a Social Media Star | Entertainment
De Leerling Watch Online
Cooktopcove Com
Becu Turbotax Discount Code
Dignity Nfuse
Po Box 35691 Canton Oh
Transfer and Pay with Wells Fargo Online®
Marvon McCray Update: Did He Pass Away Or Is He Still Alive?
Divina Rapsing
Army Oubs
Missouri Highway Patrol Crash
Uta Kinesiology Advising
Adt Residential Sales Representative Salary
Amazing Lash Studio Casa Linda
A Person That Creates Movie Basis Figgerits
Meridian Owners Forum
Bend Missed Connections
Darktide Terrifying Barrage
R/Orangetheory
Emily Katherine Correro
How to Watch the X Trilogy Starring Mia Goth in Chronological Order
Ducky Mcshweeney's Reviews
Synchrony Manage Account
Frcp 47
How To Paint Dinos In Ark
Trivago Myrtle Beach Hotels
888-333-4026
8 Ball Pool Unblocked Cool Math Games
18 terrible things that happened on Friday the 13th
Mugshots Journal Star
Acts 16 Nkjv
Craigslist Malone New York
Locate phone number
Dragon Ball Super Super Hero 123Movies
Plumfund Reviews
Grace Family Church Land O Lakes
Superecchll
Texas Lottery Daily 4 Winning Numbers
Latest Posts
Article information

Author: Mr. See Jast

Last Updated:

Views: 6416

Rating: 4.4 / 5 (55 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Mr. See Jast

Birthday: 1999-07-30

Address: 8409 Megan Mountain, New Mathew, MT 44997-8193

Phone: +5023589614038

Job: Chief Executive

Hobby: Leather crafting, Flag Football, Candle making, Flying, Poi, Gunsmithing, Swimming

Introduction: My name is Mr. See Jast, I am a open, jolly, gorgeous, courageous, inexpensive, friendly, homely person who loves writing and wants to share my knowledge and understanding with you.