Custom block page for "HTTPS" block urls

The certificates are located in /etc/pki/tls/certs/. localhost.crt is the used cert but I don’t know if it solves the problem: