Adding Custom Certificates To CIITIX-WiFi

CIITIX-WiFi is a turnkey solution to your WiFi hotspot needs. Built onto the rock solid stable debian linux, setting up a secure (TTLS) WiFi hotspot is just a minute away. This guide shows how to set up an AAA server (authentication, authorization and accounting) with CIITIX-WiFi.

CIITIX-WiFi comes with certificates valid till 2020 but in case someone want to use their own certificates this tutorial can come in handy.

Disclaimer: This is not the only way to achieve this but it does work with CIITIX-WiFi.

Custom Certificate Creation/Installation

Use the script in the /etc/ssl/ folder i.e CA.all.

If your are not a root user yet, become one

[ccINb_bash width="700"]

sudo su -

cd /etc/ssl/


Edit the ca.all script to alter the default set password “whatever”.

vi ca.all

Change the occurrence of “whatever” with your own password, e.g “ciitixwifi”.

Hint: You can also run

sed 's/whatever/ciitixwifi/g' ca.all > newCa.all

Continue reading “Adding Custom Certificates To CIITIX-WiFi” »

Be the first to comment - What do you think?  Posted by Aniruddh - December 15, 2011 at 11:28 am

Categories: Uncategorized   Tags:

Make Browsers Cache Static Files With mod_expire On Lighttpd (Debian Squeeze)

Configure Lighttpd to set the Expires HTTP header and the max-age directive of the Cache-Control HTTP header of static files (such as images, CSS and Javascript files) to a date in the future so that these files will be cached by your visitors’ browsers. This saves bandwidth and makes your web site appear faster (if a user visits your site for a second time, static files will be fetched from the browser cache). This tutorial was written for Debian Squeeze.

1 Preliminary Note
Lighttpd setup on your Debian Squeeze server Installing Lighttpd With PHP5 And MySQL Support On Debian Squeeze
open /etc/lighttpd/lighttpd.conf

vi /etc/lighttpd/lighttpd.conf

Restart Lighttpd

/etc/init.d/lighttpd restart

3 Configuring mod_expire

place it in the overall server configuration

vi /etc/lighttpd/lighttpd.conf

Restart Lighttpd after your changes

[ccINb_bash width="700"]/etc/init.d/lighttpd restart

Be the first to comment - What do you think?  Posted by Aniruddh - November 24, 2011 at 2:31 am

Categories: Uncategorized   Tags: