SSL on RapsberryPi based PirateBox 1.1.x February 20, 2018 03:15PM |
Admin Registered: 13 years ago Posts: 4,680 |
sudo bash mkdir /opt/piratebox/conf/lighttpd/certs/ cd /opt/piratebox/conf/lighttpd/certs/ openssl req -new -x509 -keyout lighttpd.pem -out lighttpd.pem -days 3650 -nodes(hit enter several times if prompted)
source /opt/piratebox/conf/piratebox.conf chown $LIGHTTPD_USER:$LIGHTTPD_GROUP lighttpd.pem chmod 400 lighttpd.pem cd /opt/piratebox/conf/lighttpd/ cat <<EOF > ssl.conf \$SERVER["socket"] == ":443" { ssl.engine = "enable" ssl.pemfile = "/opt/piratebox/conf/lighttpd/certs/lighttpd.pem" } EOF echo 'include "/opt/piratebox/conf/lighttpd/ssl.conf"' >> lighttpd.conf systemctl restart piratebox
Mike
Re: SSL on RapsberryPi based PirateBox 1.1.x January 01, 2019 11:48PM |
Cpt. Jack
Re: SSL on RapsberryPi based PirateBox 1.1.x January 03, 2019 10:31PM |
Re: SSL on RapsberryPi based PirateBox 1.1.x January 04, 2019 02:57PM |
Admin Registered: 13 years ago Posts: 4,680 |
toLanguage: PHPurl=http://piratebox.lan/content"
Language: PHPurl=https://piratebox.lan/content"
Cpt. Jack
Re: SSL on RapsberryPi based PirateBox 1.1.x January 07, 2019 09:18PM |