File mod_nss-gencert_stronger_password.patch of Package apache2-mod_nss.12496
Index: mod_nss-1.0.17/gencert.in
===================================================================
--- mod_nss-1.0.17.orig/gencert.in 2019-09-10 12:59:33.848895523 +0200
+++ mod_nss-1.0.17/gencert.in 2019-09-10 13:01:01.889415325 +0200
@@ -115,7 +115,7 @@ done
echo "TEST = $TEST"
echo "SNI = $SNI"
-echo "httptest" > $DEST/pw.txt
+echo "hTtp.Te5t" > $DEST/pw.txt
function generate_server_sni_cert {
hostname=$1
@@ -173,7 +173,7 @@ function generate_server_sni_cert {
echo ""
echo "#####################################################################"
echo "Generating new server certificate and key database. The password"
-echo "is httptest"
+echo "is hTtp.Te5t"
echo "#####################################################################"
$CERTUTIL -N -d $DBDIR -f $DEST/pw.txt
@@ -329,7 +329,7 @@ rm $DEST/pw.txt
rm $DEST/noise
echo ""
-echo "The database password is httptest"
+echo "The database password is hTtp.Te5t"
echo ""
# change the ownership of the NSS database so apache can access it