Install an SSL certificate on the Web server (IIS) and bind the website

Take windows server 2016 as an example

1. Install the intermediate certificate

1. Download the intermediate certificate file

If it is an RSA encryption algorithm, download it here .

If it is an ECC encryption algorithm, download it here .

2. Install

Double-click the downloaded file to install it. Note that during the installation process, the storage location must be set to "local computer", check "choose to put all certificates in the following storage (P)", and browse to select "intermediate certificate" issuing authority".

2. Installation certificate

1. Press Win+R to open Run.
2. Enter mmc, click OK, and open the Windows server console (MMC, Microsoft Management Console).
3. Add the Certificates snap-in for the local computer.
a. On the top menu bar of the console, select File -> Add/Remove Snap-in.
 
b. In the Add or Remove Snap-in dialog box, select Certificates from the list of available snap-ins on the left, and click Add.
 
c. In the dialog box of the certificate snap-in, select the computer account, and click Next.
 
d. In the Select Computer dialog box, select the local computer (the computer running this console), and click Finish.
 
e. In the Add or Remove Snap-in dialog box, click OK.
4. On the left navigation bar of the console, expand the console root node -> certificate (local computer), then place the cursor on the individual and open the right-click menu, select all tasks -> import.

 

5. Complete the Certificate Import Wizard.
a. In Welcome to the Certificate Import Wizard: Next step.
b. The file to import dialog box: Click Browse to open the certificate file in PFX format, and then click Next.


c. Paste the password into the text box, next step.


d. Select Automatically select the certificate store based on the certificate type, and click Next.


e. Click Finish, click OK.

 

3. Bind the certificate to the website

1. Open IIS Manager.
2. In the connection navigation bar on the left, expand Host, click Website, and select the corresponding domain name.
3. In the operation navigation bar on the right, click Bind.

4. In the Website Binding dialog box, click Add.

5. In the Add Website Binding dialog box, complete the relevant configuration of the website, and click OK.

 6. In the Website Binding dialog box, click Close.

Guess you like

Origin blog.csdn.net/jhycjhyc/article/details/128206976