Blame SOURCES/mod_nss-gencert.patch

49b7d4
From 4908fdb78aaf4434e4519fe0809383dc69778823 Mon Sep 17 00:00:00 2001
49b7d4
From: Rob Crittenden <rcritten@redhat.com>
49b7d4
Date: Tue, 17 May 2016 11:34:06 -0400
49b7d4
Subject: [PATCH] Modify gencert to create a password-less database
49b7d4
49b7d4
---
49b7d4
 gencert.in | 9 ++-------
49b7d4
 1 file changed, 2 insertions(+), 7 deletions(-)
49b7d4
49b7d4
diff --git a/gencert.in b/gencert.in
49b7d4
index 0fd1c67..659a9fc 100755
49b7d4
--- a/gencert.in
49b7d4
+++ b/gencert.in
49b7d4
@@ -115,7 +115,7 @@ done
49b7d4
 echo "TEST = $TEST"
49b7d4
 echo "SNI = $SNI"
49b7d4
 
49b7d4
-echo "httptest" > $DEST/pw.txt
49b7d4
+echo -e "\n" > $DEST/pw.txt
49b7d4
 
49b7d4
 function generate_server_sni_cert {
49b7d4
     hostname=$1
49b7d4
@@ -172,8 +172,7 @@ function generate_server_sni_cert {
49b7d4
 
49b7d4
 echo ""
49b7d4
 echo "#####################################################################"
49b7d4
-echo "Generating new server certificate and key database. The password"
49b7d4
-echo "is httptest"
49b7d4
+echo "Generating new server certificate and key database."
49b7d4
 echo "#####################################################################"
49b7d4
 $CERTUTIL -N -d $DBDIR -f $DEST/pw.txt
49b7d4
 
49b7d4
@@ -328,8 +327,4 @@ echo "#####################################################################"
49b7d4
 rm $DEST/pw.txt
49b7d4
 rm $DEST/noise
49b7d4
 
49b7d4
-echo ""
49b7d4
-echo "The database password is httptest"
49b7d4
-echo ""
49b7d4
-
49b7d4
 exit 0
49b7d4
-- 
49b7d4
2.5.5
49b7d4