Merge branch 'update-ca-attributes' of ssh://github.com/TinCanTech/easy-rsa into TinCanTech-update-ca-attributes

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2023-01-22 19:54:49 +00:00
commit 915d52c598
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246

View File

@ -1354,7 +1354,8 @@ Unable to create necessary PKI files (permissions?)"
done
printf "" > "$EASYRSA_PKI/index.txt" || \
die "$err_msg"
printf "" > "$EASYRSA_PKI/index.txt.attr" || \
attrib='unique_subject = no'
printf '%s\n' "$attrib" > "$EASYRSA_PKI/index.txt.attr" || \
die "$err_msg"
printf '%s\n' "01" > "$EASYRSA_PKI/serial" || \
die "$err_msg"