Self-signed certificates in lighttpd

OLD

(generates 1024-bit key, which makes SSL checkers unhappy)

aptitude install lighttpd ssl-cert
make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/lighttpd/server.pem
lighttpd-enable-mod ssl

http://blog.delgurth.com/2009/02/15/lightweight-fast-webmail-client/

NEW

(generates 2048-bit key, which makes SSL checkers happier)

openssl req -x509 -nodes -sha256 -days 3560 -newkey rsa:2048 -keyout server.pem -out server.pem
mv server.pem /etc/lighttpd/
computer/lighttpd_self-signed_cert_on_debian.txt · Last modified: 2015/04/30 23:42 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS