Monthly Archives: December 2006

Prepping for exam 70-551

Apparently the boyscout motto is to “always be prepared”. This certainly holds true for Microsoft Certificied Professional (MCP) exams. Last week I took the exam 70–551: UPGRADE: MCAD Skills to MCPD: Web Developer by Using the Microsoft .NET Framework. Here … Continue reading

Posted in Uncategorized | Leave a comment

The need for Trusted Root Certificate Authorities

A web server will send the public key of its server certificate to set up a SSL connection with the client. The client checks whether the certificate is still a valid in this point in time the name of the … Continue reading

Posted in Uncategorized | Leave a comment

Request and install a client certificate on the browsing computer

Browsers will need to have client certificates installed before any web server can receive them for authentication and authorization. Certificate Services can issue these certificates manually by a user, administrator or even programmatically. Let’s assume that your users need to … Continue reading

Posted in Uncategorized | Leave a comment

certutil

http://groups.google.com/group/netscape.public.mozilla.crypto/tree/browse_frm/month/2004-08/9ff51d7242cee3ef?rnum=31&_done=%2Fgroup%2Fnetscape.public.mozilla.crypto%2Fbrowse_frm%2Fmonth%2F2004-08%3F CertUtil (Windows Server 2000 family)

Posted in Uncategorized | Leave a comment

Getting up in the morning

Take a look at this picture of my daughter Lieke: Looking pretty wise and smart, right? (Remember, this is her father talking). Well anyway, just to tell you the truth: that’s not how she gets up in the morning. Follow … Continue reading

Posted in Uncategorized | Leave a comment

Configure IIS for client certificates

Now that the web server is prepared with a server certificate you can continue with client certificates. By default IIS will ignore client certificates. You need to change some settings. Go to the properties of the particular web application in … Continue reading

Posted in Uncategorized | Leave a comment

Preparing IIS 5.x or 6.0 with a server certificate

The final goal of this exercise is to work with client certificates. But client certificates will not work unless you set up the web server with a server certificate. Even though there are loads of instructions to be found, let … Continue reading

Posted in Uncategorized | Leave a comment

Using client certificates to authenticate web browsers

ASP and ASP.NET have a pretty easy mechanism to work with client certificates that a browser has handed to the web server. All it takes is this little piece of code: Response.Write(Request.ClientCertificate[“Issuer”]); plus or minus the square brackets and semi-colon. … Continue reading

Posted in Uncategorized | Leave a comment

Never-ending story of Close versus Dispose

Erno de Weerd recently posted a blog entry on how SqlConnection.Dispose removes the connection from the connection pool. He concluded this after looking in Reflector and seeing this:     1 protected override void Dispose(bool disposing)     2 {     3   if (disposing)     4   {     5   … Continue reading

Posted in Uncategorized | Leave a comment

WebDev.WebServer for easy website hosting

Visual Studio 2005 Websites and Web Application projects use the ASP.NET Development Server as a light-weight web server to host the websites. Pretty easy, but sometimes you need to host one or more websites and don’t feel like starting a … Continue reading

Posted in Uncategorized | Leave a comment