It is recommended to use OpenSSL to create Lighttpd CSR file.

Start from typing your catalogue server:

cd /etc/lighttpd

Now generate CSR file with your private key, use commands:

openssl genrsa -des3 -out www.domain.ext.key 2048

openssl req -new -key www.domain.ext.key -out www.domain.ext.csr

After second command you are asked for the Common Name. It is domain name, which will be secured. Be sure that the format is correct: yourdomain.com is a different address than www.yourdomain.com. For Wildcard certificates the format is *.yourdomain.com.

CSR will be saved as www.domain.ext.csr: open it with Notepad - you will need this to issue SSL certificate.