Sign the certificate? [y/n]:y
failed to update database
TXT_DB error number 2
产生的原因是:
This thing happens when certificates share common data. You cannot have two
certificates that look otherwise the same.
因为我之前创建过一个httpd的,common name和email都一样,所以报错。修改一下。或者修改CA下面的index.txt.attr。