diff options
Diffstat (limited to 'genca.sh')
-rwxr-xr-x | genca.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -6,6 +6,11 @@ SUPPLEMENTARY_CONFIG="$1" . ./configure.sh +if [ -e "$CA"/ca/"$CA".key ]; then + echo "$CA/ca/$CA.key already exists!" + exit 2 +fi + # Certificate Authority mkdir -pv "$CA"/ca "$CA"/certs "$CA"/signed echo 1000 > "$CA"/ca/"$CA".serial |