日期:2014-05-16  浏览次数:20400 次

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.txt

touch index.txt

?方法三:

将 common name设置成不同的