Part 3 – Request a webserver certificate

To secure your website you can use SSL and certificates. In this post I will explain in detail how to setup your site to use a certificate, including the details of installing your own Certification Authority. Finally I will show you some C# code to work with certificates.

Part 1 will show you how to install the Certificate Authority on a Windows 2003 machine, part 2 is about creating a new website,
part 3
shows how to request a webserver certificate,
part 4 shows you how to send the request to the Certification Authority,
part 5
shows you how the CA processes the request,
part 6
shows you how to download and install the certificate on the website,
part 7
shows you how to create a virtual folder.
Part 8 shows you how to test ths site together with some coding examples in C#.

Follow the steps below to enable SSL on a website. I assume that the website is already created and that it is called SSLWebSite.

image Go to the properties of the website for which to enable SSL; I use SSLWebSite in this post.
image The field for the SSL port is empty; the Default Website uses the (default) 443 port so you have to specify another value; 444 for example.
image Select the Directory Security tab.

Click Server Certificate

image Click Next
image Click Next
image Click Next
image Click Next
image Click Next
image Enter your common name.

Click Next

image Click Next
image Click Next
image Click Next
image Click Finish

At this point the certificate request is ready. We now have to send this request to a Certification Authority to get an actual certificate. In part 1 of this posts we have installed our own CA so we can send the request to our own CA.

This entry was posted in Uncategorized. Bookmark the permalink.

3 Responses to Part 3 – Request a webserver certificate

  1. Pingback: Part 1 – Installing a Certificate Authority (CA) | .NET Software Development

  2. Pingback: Part 2 – Create IIS Website | .NET Software Development

  3. Pingback: Part 4 – Send the request to the Certification Authority | .NET Software Development

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s