Start serial from 1, as 0 can't be revoked

This commit is contained in:
Lucas 2022-04-20 16:11:34 +00:00
parent 7b1e34f625
commit 24522541ad

View File

@ -131,7 +131,7 @@ main_issue()
fi
if [ ! -f "$PATH_CA_SERIAL" ]; then
echo 0 >"$PATH_CA_SERIAL"
echo 1 >"$PATH_CA_SERIAL"
fi
read -r serial <"$PATH_CA_SERIAL"