5.x Commercial Certificates Guide: Difference between revisions

No edit summary
mNo edit summary
 
(128 intermediate revisions by 22 users not shown)
Line 1: Line 1:
[5.0.1_GA and later]
{{Archive}}
'''''Important:''' See [[Administration Console and CLI Certificate Tools]] before installing a third party certificate using an article listed below. Third party certificate articles are community contributions and may include unsupported steps.'' 


  Obtain your commerial cert from your provider.  You will also need the root CA and any intermediaries that the provider uses in PEM format.
==Administration and CLI Tools==
  Concatenate the root and intermediaries files into a single file for use with zmcertmgr
Zimbra offers both Administration Console and Command Line Interface (CLI) tools for installing, viewing, and managing certificates.  For more information about these tools, see [[Administration Console and CLI Certificate Tools]].
 
  (a) sudo zmcertmgr deploycrt comm <cert file> <ca_chain file>
  (b) zmcontrol stop ; zmcontrol start


==Preexisting Certificates==
If you'd like to install a certificate whose CSR was made elsewhere (for instance, if you have a wildcard certificate for your domain), see here: [[Preexisting Certifcate Installation for Zimbra 6.0]]


[5.0.0_GA]
==Third Party Certificate Articles==
The following third party certificates have their own Wiki articles with installation instructions.


<pre>
===StartSSL===
(a) Copy the certificate file(s) to /opt/zimbra/ssl/zimbra/commercial/ while naming it commercial.crt
See [[Installing a StartSSL SSL Certificate with zmcertmgr]].
    If you have more than one cert files, please concatenate them into one file
(b) Copy the private key to /opt/zimbra/ssl/zimbra/commercial/ while naming it commercial.key
(c) Copy /opt/zimbra/ssl/zimbra/commercial/commercial.crt /opt/zimbra/jetty/webapps/zimbraAdmin/tmp/current.crt
    current.crt should be owned by zimbra:zimbra
(d) Run this command /opt/zimbra/bin/zmcertmgr install comm
</pre>


[4.5x to 5.x failed cert]
===Comodo SSL===
See [[Installing a Comodo SSL Certificate with zmcertmgr]].


Check whether the tomcat alias still exist in the keystore, you can check with this command
===DigiCert===
See [[Installing DigiCert commercial certificates]].


<pre>
===Gandi===
keytool -list -keystore /opt/zimbra/mailboxd/etc/keystore -storepass  `zmlocalconfig -s -m nokey mailboxd_keystore_password`
See [[Installing a Gandi Commercial Certificate on ZCS 5.0.x and 6.0.x]]
</pre>


If the above command returns two aliases (tomcat and jetty), please delete the tomcat alias with this command
===GeoTrust Certificate===
See [[Installing_a_GeoTrust_Commercial_Certificate]]


<pre>
===GlobalSign Certificate===
keytool -delete -alias tomcat -keystore /opt/zimbra/mailboxd/etc/keystore -storepass `zmlocalconfig -s -m nokey mailboxd_keystore_password`
See [[Installing a GlobalSign Commercial Certificate]]
</pre>
If there are any errors from the above command, please send it to us (support@zimbra.com).


[importing commercial certificates from other mail systems to zimbra 5.x]
===GoDaddy Certificate===
See [[Installing a GoDaddy Commercial Certificate on ZCS 5.0.x]].


If we have all the necessary pieces, you should be able to bring your commercial cert to zimbra.
===IPSCA Certificate===
<pre>
See [[Installing_a_IPSCA_Commercial_Certificate]]
You need the following:
(1) the private key in a decrypted format.
(2) all the cert files you received from the CA (intermediate and rootca).
(3) make sure the zimbra hostname is the same as the one on the cert.
</pre>
<pre>
Here are the steps:
(1) place your private key in /opt/zimbra/ssl/zimbra/commercial and name it commercial.key
(2) make sure commercial.key permission is set to 700 and is owned by root:root
(3) upload the certificate files via the admin console>certificates.
(4) make sure to upload all the certificate files that you received from you CA (rootca,intermediate,...)
</pre>


===Network Solutions Certificate===
See [[Installing a Network Solutions Certificate on ZCS 5.0.x]].


{{Article Footer|Zimbra Collaboration Suite 5.x|1/16/2008}}
===RapidSSL Certificate===
See [[Installing_a_RapidSSL_Commercial_Certificate]]


[[Category: Certificates]]
===Thawte SSL Certificate (SSL123 format)===
See [[Installing a Thawte SSL Certificate on ZCS 5.0.x]].
 
===Verisign===
See [[Installing a Verisign Test Certificate on Zimbra Server]].
 
See [[Installing a Verisign Secure Site Certificate]].
 
==Troubleshooting==
If you are experiencing issues installing, viewing, or managing your certificates, see the [[:Category:Troubleshooting Certificates]] category.
 
=Misc=
*Inspect your CSR
openssl req -in <server.csr> -noout -text
 
*Inspect your certificate
openssl x509 -in <server.crt> -noout -text
 
*Clear the passphrase of the private key
openssl rsa -in <server.key> -out <server.key.decr>
 
*Get Jetty keystore password
zmlocalconfig -s -m nokey mailboxd_keystore_password
 
*Create a CSR via the CLI
sudo /opt/zimbra/bin/zmcertmgr createcsr <self|comm> [-new] [subject] [-subjectAltNames "host1,host2"]
 
*View deployed certificate via the command line
  sudo /opt/zimbra/bin/zmcertmgr viewdeployedcrt
 
* Convert the cert format from DER to PEM
openssl x509 -in input.cer -inform DER -out output.cer -outform PEM
 
{{FH}}

Latest revision as of 04:06, 4 February 2022

Important: See Administration Console and CLI Certificate Tools before installing a third party certificate using an article listed below. Third party certificate articles are community contributions and may include unsupported steps.

Administration and CLI Tools

Zimbra offers both Administration Console and Command Line Interface (CLI) tools for installing, viewing, and managing certificates. For more information about these tools, see Administration Console and CLI Certificate Tools.

Preexisting Certificates

If you'd like to install a certificate whose CSR was made elsewhere (for instance, if you have a wildcard certificate for your domain), see here: Preexisting Certifcate Installation for Zimbra 6.0

Third Party Certificate Articles

The following third party certificates have their own Wiki articles with installation instructions.

StartSSL

See Installing a StartSSL SSL Certificate with zmcertmgr.

Comodo SSL

See Installing a Comodo SSL Certificate with zmcertmgr.

DigiCert

See Installing DigiCert commercial certificates.

Gandi

See Installing a Gandi Commercial Certificate on ZCS 5.0.x and 6.0.x

GeoTrust Certificate

See Installing_a_GeoTrust_Commercial_Certificate

GlobalSign Certificate

See Installing a GlobalSign Commercial Certificate

GoDaddy Certificate

See Installing a GoDaddy Commercial Certificate on ZCS 5.0.x.

IPSCA Certificate

See Installing_a_IPSCA_Commercial_Certificate

Network Solutions Certificate

See Installing a Network Solutions Certificate on ZCS 5.0.x.

RapidSSL Certificate

See Installing_a_RapidSSL_Commercial_Certificate

Thawte SSL Certificate (SSL123 format)

See Installing a Thawte SSL Certificate on ZCS 5.0.x.

Verisign

See Installing a Verisign Test Certificate on Zimbra Server.

See Installing a Verisign Secure Site Certificate.

Troubleshooting

If you are experiencing issues installing, viewing, or managing your certificates, see the Category:Troubleshooting Certificates category.

Misc

  • Inspect your CSR
openssl req -in <server.csr> -noout -text
  • Inspect your certificate
openssl x509 -in <server.crt> -noout -text
  • Clear the passphrase of the private key
openssl rsa -in <server.key> -out <server.key.decr>
  • Get Jetty keystore password
zmlocalconfig -s -m nokey mailboxd_keystore_password
  • Create a CSR via the CLI
sudo /opt/zimbra/bin/zmcertmgr createcsr <self|comm> [-new] [subject] [-subjectAltNames "host1,host2"]
  • View deployed certificate via the command line
 sudo /opt/zimbra/bin/zmcertmgr viewdeployedcrt
  • Convert the cert format from DER to PEM
openssl x509 -in input.cer -inform DER -out output.cer -outform PEM



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search