Commit f66c5094 authored by bensinober's avatar bensinober
Browse files

Pipe letsencrypt certs into cups self-signed hack

parent ec0368cb
......@@ -64,3 +64,5 @@ PageLog stderr
# scheduler startup and cannot be one of the standard (public) temporary
# directory locations for security reasons...
#TempDir /var/spool/cups/tmp
CreateSelfSignedCerts no
\ No newline at end of file
......@@ -31,6 +31,8 @@ if [ -a /etc/cups/ssl/server.crt ] && [ -a /etc/cups/ssl/server.key ]; then
chmod 644 /etc/cups/ssl/server.crt
chmod 640 /etc/cups/ssl/server.key
fi
cat /etc/letsencrypt/live/obib.no/fullchain.pem > /etc/cups/ssl/server.crt
cat /etc/letsencrypt/live/obib.no/privkey.pem > /etc/cups/ssl/server.key
/usr/sbin/cupsd -f &
pid="$!"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment