Probably just not understanding something here, I'm quite new to OpenVPN. I'm trying to create a new key for a client, with the same name as a previous one (I'm guessing that's the problem at least!). When I use '
build-key john' an error comes up after the build process:
failed to update database
TXT_DB error number 2
So, I try '
revoke-full john' and I get:
Using configuration from /etc/openvpn/easy-rsa/openssl-1.0.0.cnf
unable to load certificate
3073988760:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE
Using configuration from /etc/openvpn/easy-rsa/openssl-1.0.0.cnf
unable to load certificate
3074635928:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE
If I grep for the username, I can see it is in index.txt along with a couple of PEM files. Should I delete the line in the index.txt and remove the pem files? And is this not what the revoke-full command should do anyway?