openVPN minor problem
I am installing openvpn for one of my current personal research project. During the signing of certificate, I encounter a minor problem.
Certificate is to be certified until Jun 3 16:09:50 2017 GMT (3650 days)
Sign the certificate? [y/n]:y
failed to update database
TXT_DB error number 2
I went to Google and found out that alot of people are giving different advice which might due to the different method of setup for the software. So I try to solve the problem based on the error given, after 30 minutes of pulling my hair, I finally managed to solve it. It is due to the one of the value (commonName) insert during the signing of certificate.
The commonName for Certificate authority and client certificate must not be the same.
Just sharing one of my problem encountered today
Ciaran:
That one’s tripped me up several times – not a friendly error message at all. Glad you solved it.
7 June 2007, 2:45 amadmin:
Ya, I love to solve error because it’s challenging
Enjoy!
7 June 2007, 7:10 amiggy:
Thanks heaps,
You have saved me hours of frustration.
Al the best.
18 August 2007, 10:10 pmfrebal:
Thank you for solving that problem.
6 September 2007, 2:06 pmadmin:
Most welcome!
6 September 2007, 2:06 pmMike:
Man! This was extremely helpful! Many THANKS!
25 February 2008, 7:35 pmLinkRage:
Thanks man!!! You’ve just saved me hours or something…!
26 March 2008, 7:30 amVlad:
Mike – that was briliant! Thank you very much
19 July 2008, 9:50 amTurmis:
Thanks!! I love you
24 September 2008, 7:17 pmadmin:
You are most welcome guys. I’m glad to help along.
24 September 2008, 8:55 pmJohn Bond:
Thanksssssssss Mannnn God Bless you
31 October 2008, 9:10 pmEd:
Bless you dude, you ended my 2-hour swearing
21 November 2008, 1:12 amToby:
Didn’t do the trick :-/
25 January 2009, 9:35 pmadmin:
Let me know the exact error message you get.
25 January 2009, 10:25 pmMykeself:
Thanks dude, might this help you climb higher in Google#s ranking!
31 January 2009, 5:38 amAnthony Altemara:
Thanks!!!!
22 February 2009, 6:15 amMike:
had the same but still getting it, with “could not find C:\program files\openvpn\easy-rsa\keys\*.old” any ideas?
25 June 2009, 12:39 amVike:
I had a similar thing happen, but for me it was because I already had an old key with that name and hadn’t revoked it. You have to revoke it to overwrite it with a new key- use “revoke-full keyname”
10 September 2009, 11:19 amBen:
Thank you!!! Took me forever, but this was the last site i found when i googled the problem and it was the fix. None of the tutorials tell you this!
14 November 2009, 2:23 amindra:
Thanks a lot … my mistake is i input my server name 2 times when creating new client cert
Common Name (eg, your name or your server’s hostname)[]
* i thought i must input my server hostname here lol
3 January 2012, 12:27 pm