IIS configures https to access web pages

1. Open the console

win + R enter MMC
insert image description here

2. Add/Remove snap-ins

File -> Add/Remove Snap-in
insert image description here

3. Add certificate

Click "Certificates" -> Click "Add" -> Select "Computer Account" -> Select "Local Computer (the computer running this console)"
insert image description here
insert image description here
insert image description here
insert image description here

4. Import the certificate

Certificate -> Personal -> Certificate -> Right click: All Tasks -> Import
insert image description here
insert image description here
insert image description here
Select the prepared .pfx file
insert image description here
insert image description here
and enter the password in the prepared .txt file
insert image description here

5. Website configuration https

Right-click on the website that needs to configure https -> Edit Binding Add
insert image description here
Configuration
insert image description here
Type: https
Port: 443
SSL Certificate: Select the created certificate
insert image description here

6. Running the website

Guess you like

Origin blog.csdn.net/Gpointy/article/details/131687826