2. Create a self signed Certificate
In cryptography and computer security, a self-signed certificate is an identity certificate signed by the same entity whose identity it verifies.
Last updated
In cryptography and computer security, a self-signed certificate is an identity certificate signed by the same entity whose identity it verifies.
Last updated
Click the Type here to search icon present in the bottom-left of Desktop and type iis. Select Internet Information Services (IIS) Manager from the results.
The Internet Information Services (IIS) Manager window appears; click the machine name (SERVER2019 (SERVER2019\Administrator)) under the Connections section from the left-hand pane.
In SERVER2019 Home, double-click Server Certificates in the IIS section.
The Server Certificates wizard appears; click Create Self-Signed Certificate… from the right-hand pane in the Actions section.
The Create Self-Signed Certificate window appears; type GoodShopping in the Specify a friendly name for the certificate field. Ensure that the Personal option is selected in the Select a certificate store for the new certificate field; then, click OK.
A newly created self-signed certificate will be displayed in the Server Certificates pane, as shown in the screenshot.
Expand the Sites node from the left-hand pane, and select GoodShopping from the available sites. Click Bindings… from the right-hand pane in the Actions section.
The Site Bindings window appears; click Add….
The Add Site Binding window appears; choose https from the Type field drop-down list. Once you choose the https type, the port number in the Port field automatically changes to 443 (the channel on which HTTPS runs).
Choose the IP address on which the site is hosted (here, 10.10.1.19).
Under the Host name field, type www.goodshopping.com. Under the SSL certificate field, select GoodShopping from the drop-down list, and click OK.
The newly created SSL certificate is added to the Site Bindings window; then, click Close.
Now, right-click the name of the site for which you have created the self-signed certificate (here, GoodShopping) and click Refresh from the context menu.
Minimize the Internet Information Services (IIS) Manager window.
Open the Mozilla Firefox browser and go to https://www.goodshopping.com.
The Warning:Potential Security Risk Ahead message appears, click Advanced… to proceed.
Click Accept the Risk and Continue.
Now you can see Goodshopping webpage with ssl certificate assigned to it, as shown in the screenshot.