Hi all,
I am running zcs-6.0.6_GA_2330.DEBIAN5_64.20100505212715 on Debian 5.0
After the installation was successful, I had the zimbra admin consile generate a csr file that I gave to StartCom.
I got a crt file back and I went on to installing it via the gui.
I got the following error:
Code:
Message:
Your certificate was not installed due to the error : invalid request: missing required element: keysize
Error code: ZaCertWizard.prototype.installCallback
Method: AjxException.UNKNOWN_ERROR Details:invalid request: missing required element: keysize
After a bit of reading I copied my copied and renamed my crt file to '/opt/zimbra/ssl/zimbra/commercial/commecrial.crt'.
I checked that the csr file was still the same I used to request the crt file.
As root, I then ran the following command and got the error:
Code:
# wget --no-check-certificate https://www.startssl.com/certs/ca.pem
# wget --no-check-certificate https://www.startssl.com/certs/sub.class2.server.ca.pem
# cat ca.pem sub.class2.server.ca.pem > commercial_ca.crt
# ls -l
total 24
-rw-r--r-- 1 root root 4972 2010-05-25 00:28 commercial_ca.crt
-rw-r--r-- 1 root root 5662 2010-05-25 00:27 commercial.crt
-rw-r--r-- 1 root root 1086 2010-05-24 23:33 commercial.csr
-rw-r----- 1 root root 1679 2010-05-24 23:33 commercial.key
# /opt/zimbra/bin/zmcertmgr verifycrt comm commercial.key commercial.crt
** Verifying commercial.crt against commercial.key
unable to load certificate
12564:error:0906D066:PEM routines:PEM_read_bio:bad end line:pem_lib.c:749:
XXXXX ERROR: Unmatching certificate (commercial.crt) and private key (commercial.key) pair.
I read that adding a space at the end of the crt might help but I got the same error.
Cany anyone help me solve this one?
Thanks
-Ed