Results 1 to 9 of 9

Thread: Howto: GoDaddy UCC cert renewal

Threaded View

  1. #1
    Join Date
    Jun 2008
    Berkeley, CA
    Rep Power

    Default Howto: GoDaddy UCC cert renewal

    A lot of people seem to have trouble with GoDaddy certs, especially when renewing. I did, too--tried to use the Admin GUI, fail. Looked through the forums and tried a few things others suggested, without luck. Finally I combined two ideas I'd seen on the forum and it was easy as pie. So I thought I'd share.

    It's all done through the CLI. ZCS in this case is

    Step 1: Generate CSR as root.

    # /opt/zimbra/bin/zmcertmgr createcsr comm -new -keysize 2048 "/C=$country/ST=$state/L=$city/O=$organization/OU=$unit/CN=$FQDN1/CN=$FQDN2"

    The $items are for you to fill in, without the dollar signs of course. In this case I had an organizational unit (OU). If you don't have one, leave out the "/OU=$unit". Also the first $FQDN1 is the primary name on the cert; any Subject Alternative Name(s) go in the second $FQDN2 (and any subsequent ones).

    The output should look something like this:
    ** Generating a server csr for download comm -new -keysize 2048 /C=$country/ST=$state/L=$city/O=$organization/OU=$unit/
    ** Creating /opt/zimbra/conf/zmssl.cnf...done
    ** Backup /opt/zimbra/ssl/zimbra to /opt/zimbra/ssl/zimbra.20100605164109 
    ** Creating server cert request /opt/zimbra/ssl/zimbra/commercial/commercial.csr...done.
    ** Saving server config key zimbraSSLPrivateKey...done.
    If all goes well, the CSR will be in opt/zimbra/ssl/zimbra/commercial/commercial.csr

    Step 2: Submit CSR to GoDaddy and download the cert.

    # cat /opt/zimbra/ssl/zimbra/commercial/commercial.csr

    Copy & paste the output into the GoDaddy form. For server type, use "Other". Then download the cert zipfile, unzip it, and put the contents somewhere on your zimbra server. E.g. we'll assume they're in /root/certs/ and that the site cert is called The only other cert in the zip is gd_bundle.crt. (I haven't found any need for GoDaddy's intermediate cert bundle, which is apparently included in the downloads for certain servers.)

    Step 3: Verify the cert chain.

    cd /root/certs/
    # /opt/zimbra/bin/zmcertmgr verifycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.key ./ ./gd_bundle.crt

    The output should be
    ** Verifying ./ against /opt/zimbra/ssl/zimbra/commercial/commercial.key
    Certificate (./ and private key (/opt/zimbra/ssl/zimbra/commercial/commercial.key) match.
    Valid Certificate: ./ OK
    Step 4: Install the cert

    # /opt/zimbra/bin/zmcertmgr deploycrt comm ./ ./gd_bundle.crt

    And the output
    ** Verifying ./ against /opt/zimbra/ssl/zimbra/commercial/commercial.key
    Certificate (./ and private key (/opt/zimbra/ssl/zimbra/commercial/commercial.key) match.
    Valid Certificate: ./ OK
    ** Copying ./ to /opt/zimbra/ssl/zimbra/commercial/commercial.crt
    ** Appending ca chain ./gd_bundle.crt to /opt/zimbra/ssl/zimbra/commercial/commercial.crt
    ** Saving server config key zimbraSSLCertificate...done.
    ** Saving server config key zimbraSSLPrivateKey...done.
    ** Installing mta certificate and key...done.
    ** Installing slapd certificate and key...done.
    ** Installing proxy certificate and key...done.
    ** Creating pkcs12 file /opt/zimbra/ssl/zimbra/jetty.pkcs12...done.
    ** Creating keystore file /opt/zimbra/mailboxd/etc/keystore...done.
    ** Installing CA to /opt/zimbra/conf/ca...done.
    Step 4: Check the cert.

    I didn't want to reboot the whole server right away, so I just did
    # su zimbra
    # zmmailboxdctl restart

    Once mailboxd had restarted, I opened the login page with a web browser and inspected the certificate.

    Since I'm not sure if other services (such as mta) need to load the cert independently, I scheduled a full restart (zmcontrol stop && zmcontrol start) for later, after notifying the users.

    (Here's where I found the answers: and
    Last edited by ewilen; 06-05-2010 at 08:35 PM.

Similar Threads

  1. GoDaddy Cert Problem
    By bluethundr_ in forum Installation
    Replies: 6
    Last Post: 11-30-2010, 12:10 PM
  2. Upgrade Self Signed Cert to Commercial Cert (godaddy)
    By lareck in forum Administrators
    Replies: 1
    Last Post: 01-04-2010, 01:51 AM
  3. [SOLVED] UCC ssl Cert compaibility
    By baradeithel in forum Administrators
    Replies: 1
    Last Post: 12-15-2009, 02:03 AM
  4. Install GoDaddy Cert
    By sunfire in forum Administrators
    Replies: 1
    Last Post: 07-16-2008, 05:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts