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 10-28-2009, 01:56 PM
Member
 
Posts: 13
Default Manual certificate / installation for Godaddy 2048 requirement

I let our certificate expire, due to poor planning, and was not able
to use the Certificate Tool to generated a new CSR. ( I assume because
cert had expired ).

Tried to generate a CSR using the commercial.key as noted
in the wiki but I could not find a way to generate a 2048 bit key.

GoDaddy appears to require a 2048 bit setup hence I decided to try
brute force and do everything the long way. Here were the steps.

0) Make a working directory and work out of it, FOR example.
mkdir /root/zimbra_cert

1) Generate a key ( has to have a password initially ?? )
openssl genrsa -des3 -out zimbra_password.key 2048

2) remove the password from key file ( use password set in step 1 above )
openssl rsa -in zimbra_password.key -out zimbra.key

3) generate CSR ( make sure CN is correct for application etc)
openssl req -new -key zimbra.key -out zimbra.csr

4) view and verify CSR values, this is optional step.
openssl req -noout -text -in zimbra.csr

5) copy & paste contents of zimbra.csr to godaddy as needed.

6) download domain_certificate.zip from godaddy as needed.

7) unzip file should be 2 files www.domain.com.crt and gd_bundle.crt

8) make copy of www.domain.com.crt to commercial.crt to make things clean.
cp www.domain.com.crt commercial.crt

10) copy new key to zimbra path, MAY want to backup current key first.
cp zimbra.key /opt/zimbra/ssl/zimbra/commercial/commercial.key

11) verify crt from working dir or fix the paths below.
/opt/zimbra/bin/zmcertmgr verifycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.key commercial.crt gd_bundle.crt

12) if verify step above is okay, deploy certificate.
/opt/zimbra/bin/zmcertmgr deploycrt comm commercial.crt gd_bundle.crt

13) Cross your fingers and read the results of the deployment.

14) restart zimbra, reboot server etc.

These steps appear to work for us, using Zimbra 5.0.18 NE (expired lic)
Reply With Quote
  #2 (permalink)  
Old 12-20-2009, 06:07 PM
Starter Member
 
Posts: 1
Default this works great thanks for the info

thanks for the info this works great! i have not found any way of doing this through the gui this has worked for me on two servers so far.
Quote:
Originally Posted by markd View Post
I let our certificate expire, due to poor planning, and was not able
to use the Certificate Tool to generated a new CSR. ( I assume because
cert had expired ).

Tried to generate a CSR using the commercial.key as noted
in the wiki but I could not find a way to generate a 2048 bit key.

GoDaddy appears to require a 2048 bit setup hence I decided to try
brute force and do everything the long way. Here were the steps.

0) Make a working directory and work out of it, FOR example.
mkdir /root/zimbra_cert

1) Generate a key ( has to have a password initially ?? )
openssl genrsa -des3 -out zimbra_password.key 2048

2) remove the password from key file ( use password set in step 1 above )
openssl rsa -in zimbra_password.key -out zimbra.key

3) generate CSR ( make sure CN is correct for application etc)
openssl req -new -key zimbra.key -out zimbra.csr

4) view and verify CSR values, this is optional step.
openssl req -noout -text -in zimbra.csr

5) copy & paste contents of zimbra.csr to godaddy as needed.

6) download domain_certificate.zip from godaddy as needed.

7) unzip file should be 2 files www.domain.com.crt and gd_bundle.crt

8) make copy of www.domain.com.crt to commercial.crt to make things clean.
cp www.domain.com.crt commercial.crt

10) copy new key to zimbra path, MAY want to backup current key first.
cp zimbra.key /opt/zimbra/ssl/zimbra/commercial/commercial.key

11) verify crt from working dir or fix the paths below.
/opt/zimbra/bin/zmcertmgr verifycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.key commercial.crt gd_bundle.crt

12) if verify step above is okay, deploy certificate.
/opt/zimbra/bin/zmcertmgr deploycrt comm commercial.crt gd_bundle.crt

13) Cross your fingers and read the results of the deployment.

14) restart zimbra, reboot server etc.

These steps appear to work for us, using Zimbra 5.0.18 NE (expired lic)
Reply With Quote
  #3 (permalink)  
Old 12-21-2009, 02:23 AM
vbn vbn is offline
Active Member
 
Posts: 42
Default

Ditto for us...not sure if its only with GoDaddy or other providers also. We also deploy GoDaddy same way, dont even try the quick gui way.
Reply With Quote
  #4 (permalink)  
Old 12-21-2009, 03:32 PM
Member
 
Posts: 13
Default there may be zimbra tools for this now

I believe there is another forum discussion in this regards for the
new zimbra tools which will allow you to create larger certs.

Hence, I suggest searching the forums as these steps may be more
difficult. Of course the new tools are probably Z6.0+.

Best wishes,
Reply With Quote
  #5 (permalink)  
Old 03-11-2010, 09:58 AM
Trained Alumni
 
Posts: 29
Default GoDaddy Multi-Domain Certificate

If anyone need to install a GoDaddy multi-domain certificate. We did the following when we created the CSR. It seems to be working on our system.

Code:
openssl req -new -key zimbra.key -subj "/C=$YOURCOUNTRY/ST=$YOURSTATE/L=$YOURCITY/O=$YOURORG/OU=Zimbra/CN=$DOMAIN1/CN=$DOMAIN2/CN=$DOMAIN3" -out zimbra.csr
Obviously you should substitute $VARIABLE for and "relevant value" e.g. $DOMAIN1="mydomain.com", $DOMAIN2="zimbra.myotherdomain.org", etc.

I got the idea from the bottom of this blog post.

SSL System Howtos and Tutorials

Hope that helps. We're going to 6 as soon as we can, but apparently not soon enough.
Reply With Quote
  #6 (permalink)  
Old 04-15-2010, 11:05 AM
Senior Member
 
Posts: 71
Default

Thanks so much markd!!!!
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.