Start-> run-> MMC;
Start the console program and select Add/Remove Snap-in from the menu file->; Add and select certificate from the list of available standalone snap-ins->; Select "Computer Account";
Display the certificate tree list on the left side of the console, and select Personal->; Certificate, right-click, select all tasks-> Import, and import the PFX file according to the prompt of the certificate import wizard (there is a very important step in this process: "Automatically select the storage area according to the certificate content").
The password you need to enter during the installation process is the password set at that time. After successful import, you can see the certificate information.
(2) Assign server certificates
Open IIS manager (or start-run-type inetmgr- enter).
Select a website, right-click Open Properties, select Directory Security, and then click Server Certificate.
According to the certificate configuration wizard, click Next.
If Certificate Import is completed, select Assign Existing Certificate and select the imported certificate.
Otherwise, choose from them. Pfx file import certificate ",click Next.
Browse options. Pfx format certificate file, click "Next".
Enter the password for the certificate and continue to the next step.
Confirm that SSL port is: 443, and click Next to complete IIS certificate configuration.
You can confirm whether the certificate was imported successfully by "View Certificate".