Somehow certificate got messed up and I'm trying to recreate it following the Wiki but this command gives an error

/opt/zimbra/bin # ./zmcertmgr deployca -localonly
** Importing CA /opt/zimbra/ssl/zimbra/ca/ca.pem into CACERTS...done.
** Copying CA to /opt/zimbra/conf/ca...done.
unable to load certificate
22374:error:0906D06C:PEM routines:PEM_read_bio:no start lineem_lib.c:650:Expecting: TRUSTED CERTIFICATE

Any help would be much appreciated (we are without mail server),

Pancho