
I accidentally used build-key-pass with the same client name as I had already created key and cert files for using build-key. Presumably because the client already existed, build-key-pass failed with "TXT_DB error number 2". Now the $KEY_DIR/<client name>.crt file is empty. Trying to clean up with revoke-full generates "error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: TRUSTED CERTIFICATE" presumably because of the empty .crt file.
How to clean up?
The earlier client files should be available from backup.
EDIT: OpenVPN 2.1.3 running on Debian 6 Squeeze
Best
Charles