Skip to main content

Posts

Why HTTPS and What is SSL Certificate

I want to share few things about SSL/Https/signed/self-signed Certificates. This is right time to publish about my thoughts. Lets see why https instead of http: There are two primary differences between an HTTPS and an HTTP connection work: HTTPS encrypts the data sent and received with SSL, while HTTP sends it all as plain text HTTPS connects on port 443, while HTTP is on port 80, Means 443 is the default port for https, so make sure whether the the port 443 is free. As I said above, HTTP sends the data collected over the Internet in plain text. This means that if you have a form asking for a credit card number, that credit card number can be intercepted by anyone with a packet sniffer. Since there are many free sniffer software tools, this could be anyone at all. By collecting credit card information over an HTTP (not HTTPS) connection, you are broadcasting that credit card information to the world. And the only way your customer will learn it was stolen is when it...

Sample lighttpd conf file for ssl and non ssl

Non SSL # Default configuration file for the lighttpd web server # Start using ./script/server lighttpd server.port = 3000 server.name = "localhost" server.modules           = ( "mod_rewrite", "mod_accesslog") #, "mod_fastcgi" ) #server.error-handler-404 = "/dispatch.fcgi" server.document-root     = "/home/myapp/" server.errorlog          = "/home/myapp/log/lighttpd.error.log" accesslog.filename       = "/home/myapp/log/lighttpd.access.log" url.rewrite              = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" ) #server.document-root = "/home/myapp/" # Change *-procs to 2 if you need to use Upload Progress or other tasks that # *need* to execute a second request while the first is still pending. fastcgi.server = ( ".fcgi" =>   ( "localhost" =>       (         "min-procs" => 10,     ...