/usr/share/live/build/hooks/0195-remove-ssl-cert-snakeoil.hook.chroot is in live-build 4.0.3-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/sh
set -e
# Remove ssl-cert snakeoil
if [ -e /etc/ssl/certs/ssl-cert-snakeoil.pem ]
then
rm -f /etc/ssl/certs/$(openssl x509 -hash -noout -in /etc/ssl/certs/ssl-cert-snakeoil.pem)
rm -f /etc/ssl/certs/ssl-cert-snakeoil.pem
rm -f /etc/ssl/private/ssl-cert-snakeoil.key
fi
|