Part 7 – Create a virtual folder

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#.

I assume that the website with the certificate is created and is called SSLWebSite. Now create a virtual folder that uses the certificate for SSL communication.

image_thumb[38] Start the inetmgr; right click SSLWebSite choose new; choose Virtual Directory.
image_thumb[40] Click Next
image_thumb[41] Enter the alias SSLSite.

Click Next

image_thumb[42] Create a folder for the virtual directory.

Click Next

image_thumb[43] Check Run scripts (such as ASP)

Click Next

image_thumb[44] Click Finish
This entry was posted in C#, Security. Bookmark the permalink.

4 Responses to Part 7 – Create a virtual folder

  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

  4. Pingback: Part 3 – Request a webserver certificate | .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