Everything builds fine until we hit the client cert. build. Signatures match...and I've tried adding/removing/changing various values with no luck. The client name is a solid alpha string (no dashes, spaces or underscores).
Has anyone seen this pesky critter? Running 2.1.3 on Server 2000......
The return is:
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName :PRINTABLE:'US'
stateOrProvinceName :PRINTABLE:'**'
localityName :PRINTABLE:'**'
organizationName :PRINTABLE:'**'
commonName :PRINTABLE:'**'
emailAddress :IA5STRING:'**'
Certificate is to be certified until Jan 18 14:37:53 2021 GMT (3650 days)
Sign the certificate? [y/n]:y
failed to update database
TXT_DB error number 2
Could Not Find C:\Program Files\OpenVPN\easy-rsa\keys\*.old
** = commented out local values
[SOLVED] "TXT_DB error number 2" on build-key.bat
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Jan 20, 2011 6:22 pm
- gladiatr72
- Forum Team
- Posts: 194
- Joined: Mon Dec 13, 2010 3:51 pm
- Location: Lawrence, KS
Re: "TXT_DB error number 2" on build-key.bat client cert
Hello,
The TXT_DB error indicates some kind of duplication in index.txt. If this is your first certificate, index.txt should be empty (I'm assuming this to be so because of the warning indicating index.txt.old doesn't exist).
-Stephen
The TXT_DB error indicates some kind of duplication in index.txt. If this is your first certificate, index.txt should be empty (I'm assuming this to be so because of the warning indicating index.txt.old doesn't exist).
-Stephen
[..]I used to think it was awful that life was so unfair. [...]Wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? -Marcus Cole
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Jan 20, 2011 6:22 pm
Re: "TXT_DB error number 2" on build-key.bat client cert
Thanks Stephen...that was it. There was existing data in that index.txt file. Looks like we are on to the next part of the adventure.
Scott
Scott