Introduction
In my previous article you learned How to Export the Server Authentication Certificate to a File.
This article explains how to import the Server Authentication Certificate from a file to AdFS.
Step 1
First of all open the Run Wizard and type "mmc" and then click on the "OK" button.
Now the Console Root Wizard will open.
Step 2
Now go the Files Menu and click on "Add remove Snap-in", you can also click "Ctrl+M" for that.
Now all the available snap-ins will be shown in the list, in this list click on the "Certificate" and then click on the "Add" button.
Step 3
On the next page it will ask you whether that Account Snap-In should manage certificates for us.
On that page click on the "Computer Account" and then click on the "OK" button.
Since we selected the Computer Account, in the next page it will ask whether it should be the Local Computer or another computer, here select the "Local Computer" and then click on the "Finish" button.
Step 4
Now many type of folders will be available under the Console Tree, here one option will be "Trusted Root Certificates Authorities"; expand it, this option will contain another folder named "Certificates."
Now right-click on the Certificates Folder and click on "Import" under "All Tasks".
Step 5
Now the Certificate Import Wizard will open, here if it asks you about Store Location then click on the Local Machine and then click on the "Next" button, otherwise simply click on the "Next" button.
On the next page you will be asked to provide the File Name. Here the file name should be in this manner: "C:\root.pfx". Here C is the drive letter and "root" was the folder where I stored the certificate. (In the previous the article I stored it in the Program Files Folder.)
Step 6
Now on the next page provide the password for this certificate. Use the same password that you used when you exported it.
On the next page it will ask where to store this certificate. The default will be Trusted Root Certificate Authority so simply click on the "Next" button.
Step 7
The next page will be a brief summary of the selections made by you, click on the "Finish" button to complete the process of importing the certificate.
Now a message will pop up that will confirm that the import was successful.