from: http://zhoujuxi.blog.163.com/blog/static/56607590201192571745629
p>
Sign the certificate?[y/n]:y
failed to update database
TXT_DB error number 2
occurs because
p>
This thing happens when certificates share common data. You cannot have two
certificates that look the same.
p>
method 1 :
p>
modify demoCA under index.txt.attr
p>
p>
Java code
- unique_subject = yes span> span> li> ol>
to p>
Java code
- unique_subject = no span> span> li> ol>
method 2 :
p>
delete demoCA under the index. TXT, and then touch
p>
Java code
- rm index. TXT span> span> li>
- span> li>
- touch index. TXT span> li> ol>
method three :
sets the common name to a different
the second method I use when I encounter such situations;
ref: blog.sina.com.cn/s/blog_6151984a0100f0q4.html
p> - span> li>
- rm index. TXT span> span> li>
- unique_subject = no span> span> li> ol>
Read More:
- openssl TXT_DB error number 2 failed to update database
- Ambari OpenSSL version problem: sslerror: failed to connect. Please check OpenSSL library versions
- Brief introduction of cmake generating all in vs Project_ BUILD、INSTALL、ZERO_ Check function!!
- When generating a test report in HTML format, report [typeerror: a bytes like object is required, not ‘STR’]
- socket.error : [errno 10048] and view PID process number and port number
- Django reads the txt file in view
- Velt-0.1.3 development: generating events
- Method of generating MD5 file checksums under Windows
- JavaScript removes the number specified in the array
- A method of generating subtitle file for MP3
- Msfvenom generating Trojan and connecting
- Generating equals/hashCode implementation but without a call to superclass
- Error in pom.xml dependency version number in idea
- A case diagnosis and solution of DB2 error code 1639 and SQL state 08001 is described in detail
- OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
- A convenient method to count the total number of query results in MySQL
- [Solved] CAP_IMAGES: can‘t find starting number (in the name of file)
- DB2 create table error – 104 42601 illegal symbol encountered in SQL statement
- Error in comparing the size function of STL with negative number