From 1477399b17a6d41fe3d8c4f8caba16e93a4da4ed Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Mon, 3 Sep 2018 01:01:28 -0500 Subject: [PATCH] Put back creation of blank NSSDB --- make-ca | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/make-ca b/make-ca index 111ad01..23a8d89 100755 --- a/make-ca +++ b/make-ca @@ -488,6 +488,11 @@ fi cat "${CERTDATA}" >> "${WORKDIR}/certdata.txt" pushd "${WORKDIR}" > /dev/null +if test "${WITH_NSS}" == "1"; then + # Create a blank NSS DB + "${CERTUTIL}" -N --empty-password -d "sql:${TEMPDIR}/pki/nssdb" +fi + # Get a list of starting lines for each cert CERTBEGINLIST=`grep -n "^# Certificate" "${WORKDIR}/certdata.txt" | \ cut -d ":" -f1`