Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-19-2009, 12:49 PM
New Member
 
Posts: 4
Question [SOLVED] SSL with a 2048 bit Cert

[Solution below]

I use StartCom for my certs. This year they require 2048 bit or higher key on the CSR.

It seems that my current version of Zimbra, 5.0.10_GA open source edition, always generates CSR's as a 1024 bit key.

Is there a way I can change this?

Do nerwer versions support this?

Do I have to use the CLI, and if so, can you point me to the right instructions for this version?

Thank you for your time.

--Solution--
5.0.10_GA is hard coded to use 1024, future versions 6.0.0_RC1 and up should support greater than 1024bit keys. See Bug 36313 – Option to specify key length for SSL certificate

As a workaround, I edited the following file:
opt/zimbra/bin/zmcertmgr

I replaced 1024 with 2048 anywhere in the file.
I then regenerated the CSR with the management utility and all was good.

Thanks to brian for info on the new version support, and to Rich Graves for info on JCE (see post below about JCE if you still have issue)

Last edited by mugendai; 06-24-2009 at 01:24 PM.. Reason: Solution posted
Reply With Quote
  #2 (permalink)  
Old 06-19-2009, 04:42 PM
Outstanding Member
 
Posts: 708
Default

It's a limitation of the Sun Java distribution.

You need to install the "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy." No URL provided because it moves; search for it.

This will also upgrade symmetric ciphers from AES128 to AES256.
Reply With Quote
  #3 (permalink)  
Old 06-19-2009, 05:40 PM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by Rich Graves View Post
You need to install the "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy."
Unfortunately that isn't working out for me.
I got the unlimited strength policy, and replaced the existing policy files with them.
"/opt/zimbra/java/jre/lib/security"

I then restarted zimbra with zmcontrol stop then start

I then attempted to generate a new CSR using the administration site.
I sent the CSR to the CA and again they denied it because it is still 1024.

Is there something more I need to do to get Zimbra to generate a 2048 or higher cert?

Thanks again.
Reply With Quote
  #4 (permalink)  
Old 06-22-2009, 12:49 PM
Zimbra Employee
 
Posts: 604
Default

zmcertmgr currently hardcodes the csr and key generation to 1024 bits. This is fixed for the 6.0.0_RC1 release.

Bug 36313 – Option to specify key length for SSL certificate
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #5 (permalink)  
Old 06-24-2009, 01:19 PM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by brian View Post
zmcertmgr currently hardcodes the csr and key generation to 1024 bits. This is fixed for the 6.0.0_RC1 release.

Bug 36313 – Option to specify key length for SSL certificate
That nailed it on the head. Thanks.

I'll edit my OP and setup a solved.
Reply With Quote
  #6 (permalink)  
Old 11-27-2009, 11:39 AM
Special Member
 
Posts: 126
Default

Quote:
Originally Posted by mugendai View Post
As a workaround, I edited the following file:
opt/zimbra/bin/zmcertmgr

I replaced 1024 with 2048 anywhere in the file.
I then regenerated the CSR with the management utility and all was good.
Confirmed. Workaround is successful with GoDaddy certs and Zimbra v5.0.20.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.