openssl TXT_DB error number 二 failed to update database

openssl TXT_DB error number 2 failed to update database产生的原因是:?This thing happens when certif

openssl TXT_DB error number 2 failed to update database

产生的原因是:

?

This thing happens when certificates share common data. You cannot have two?
certificates that look otherwise the same.

?

方法一:

?

修改demoCA下?index.txt.attr

?

unique_subject = yes

?改为

unique_subject = no

?方法二:

?

删除demoCA下的index.txt,并再touch下

?

rm index.txttouch index.txt

?方法三:

将 common name设置成不同的