Installation instructions of your SSL Certificate for Lighttpd

Please follow these instructions to install your SSL certificate on Lighttpd:

1. Once you received your SSL certificate by e-mail, please copy and paste it into a text file (with Notepad or Wordpad) and save the file with the .crt extension. (Include the tags -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----).

2. Get your intermediate certificate. Copy and paste the contents into inter.crt file by using a text editor software (such as Notepad or Wordpad).

3. Copy the two files on your server. Make them readable by root only.

4. You need to concatenate the key file and the certificate file into a single pem file by running the following command:

cat your_domain_name.key your_domain_name.crt > your_domain_name.pem

5. Edith lighttpd.conf and add the following:

var.confdir = "/etc/lighttpd"
$SERVER["socket"] == "" {
ssl.engine = "enable"
ssl.pemfile = var.confdir + "/your_domain_name.pem" = var.confdir + "/inter.crt" = ""
server.document-root = "/my/document/root/"

Make sure that the var.confdir (/etc/lighttpd) matches the location where you saved your certificate files. Also change the IP address ( to your IP address.

6. Restart Lighttpd.