建立CA證書報錯-failed to update database TXT_DB error number 2

openssl TXT_DB error number 2 failed to update databaseapp

產生的緣由是:ssl

 

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

方法一:date

修改demoCA下 index.txt.attr方法

error

unique_subject = yes

 改成demo

unique_subject = no

 方法二:touch

刪除demoCA下的index.txt,並再touch下tab

rm index.txt

touch index.txt

 方法三:co

將 common name設置成不一樣的

相關文章
相關標籤/搜索