Everybody's heard of the open source web server by Microsoft, "Cassini". If not it is the same server that is used in Visual Studio (as far as i have read). You can find the full source code of cassini on the msdn blog of Dmitryr .
Now this server is a lacking in one functionality (which we required) and that is it does not support SSL or HTTPS connections. Hence, you cannot host a secure website on this server.
This server is basically meant for local use and not to host websites that are accessible externally (use IIS instead). Although it can support external connections by changing just one parameter. Our requirement was to host a website locally on a computer which would be accessible by the host computer only (generally) but the connection that is established must be secure that is, it must use HTTPS.
Configuring IIS has always been a tough job (at least for me), hence we came out with a solution and implemented HTTPS in Cassini, which can now host websites over secure connection using HTTPS.
All you need to do is obtain a certificate (to prove your site's identity) this can be purchased (from VeriSign or other such service providers) or can be self signed. I will shortly upload the source files of the Secure version of Cassini and also the method to generate a self signed certificate.
Wednesday, December 23, 2009
Secure Cassini
Subscribe to:
Post Comments (Atom)
Hello Gaurav,
ReplyDeleteDo you still plan to post source files for secure version of Cassini ? (Or at least give direction to add https ?)
Thank you,
Best regards,
J. Longo
Yes, I have planned to post the source soon. I have to clean up some code and hope I am not lazy in the coming days.
ReplyDeleteGaurav