You can install one of the other articles available to generate your CSR for your certificate. This article will describe what you need to do to install a SSL cert on lighttpd server. This article assumes your key file is in the same directory as your certificate in .pem format.
1. cat server.key server-cert.pem > server.pem
This line above copies your private key and certificate into a new file with the private key first.
2. edit /etc/lighttpd/lighttpd.conf
3. add the following lines:
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/www/ssl/server.pem"
ssl.ca-file = "/www/ssl/ca_bundle.crt"
ssl.use-sslv2 = "disable"
}
4. restart lighttpd
service lighttpd restart