diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/CA/newCA.sh (renamed from conf/CA/newca.sh) | 2 | ||||
-rw-r--r-- | conf/CA/newIntermediate.sh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/conf/CA/newca.sh b/conf/CA/newCA.sh index 5f49f38a..49b12c3f 100644 --- a/conf/CA/newca.sh +++ b/conf/CA/newCA.sh @@ -6,6 +6,8 @@ mkdir -p private certs newcerts chmod 700 private chmod 755 certs newcerts touch index.txt +echo "unique_subject = no" > index.txt.attr + if [ ! -e serial ]; then echo '01' > serial fi diff --git a/conf/CA/newIntermediate.sh b/conf/CA/newIntermediate.sh index 94103051..303c22e1 100644 --- a/conf/CA/newIntermediate.sh +++ b/conf/CA/newIntermediate.sh @@ -13,6 +13,8 @@ mkdir -p $DIR/private $DIR/certs $DIR/newcerts chmod 700 $DIR/private chmod 755 $DIR/certs $DIR/newcerts touch $DIR/index.txt +echo "unique_subject = no" > $DIR/index.txt.attr + if [ ! -e $DIR/serial ]; then echo '01' > $DIR/serial fi |