When we are hosting our website or any other portal we need to make sure that all of the communications between the server and the user are secure. This builds up the trust of the users that these websites are secure and sharing information is safe. These communications can be done using certificates.
Some of the certificates are issued by many certificate issuing authorities like Comodo etc. or you can generate a self-signed certificate your self. In this article, I will explain how we can generate a self-signed certificate.
Login to your server and you will see Server Manager run at startup. Click on Tools on the top right corner and then click on Internet Information Services (IIS) Manager.
This will open Internet Information Services (IIS) Manager for you. Click on Server Certificates.
On Server Certificates windows, you will see a few options on the right side of the windows. Click on Create Self-Signed Certificate.
This will launch the certificate creation wizard. Enter the name of the certificate, it can be any name for your reference and then select a certificate store for the new certificate and then click OK.
This will create a certificate and you will be able to see the certificate in Server Certificates list.
Once the certificate is created click on Site and then click on Default Web Site.
In the right-hand side, under the Actions menu, click on Bindings…
A site binding dialog box will be opened, click on Add… button.
New configuration box for site binding will open. Select the type as https. It will show you the SSL certificate selection option. Under the SSL certificate select the certificate we have just created, in this case, it will be Avoiderrors Certificate and then click select. Once done, click Ok.
Once binding has done, you have successfully installed the self-signed certificate on your server.