How to Generate a Certificate Signing Request (CSR) on Zimbra 5.0.x, 6.0.x, & 7.0.x Server

Solution ID:    SO20540    Updated:    12/11/2013

Problem

Generate CSR on Zimbra 5.0.x, 6.0.x, & 7.0.x Server
Generate Certificate Signing Request (CSR) on Zimbra 5.0.x, 6.0.x, & 7.0.x Server

Solution

To generate a Certificate Signing Request (CSR) on Zimbra 5.0.x, 6.0.x, & 7.0.x server using Command Line Interface (CLI), perform the following steps.

  1. Log in as root.
  2.  Run the following zmcertmgr command to generate a CSR.
     
  3. /opt/zimbra/bin/zmcertmgr createcsr comm -new -subject "/C=US/ST=California/L=Mountain View/O=My Company/OU=IT Department"


    Note:
    The following fields are required when generating a Certificate Signing Request (CSR)

  • Country Name (C): Use the two-letter code without punctuation for country, for example: US or CA. 
  • State or Province (S): Spell out the state completely; do not abbreviate the state or province name, for example: California 
  • Locality or City (L): The Locality field is the city or town name, for example: Berkeley. 
  • Organization (O): If your company or department has an &, @, or any other symbol using the shift key in its name, you must spell out the symbol or omit it to enroll.  Example: XY & Z Corporation would be XYZ Corporation or XY and Z Corporation.
  • Organizational Unit (OU): This field is optional; but can be used to help identify certificates registered to an organization. The Organizational Unit (OU) field is the name of the department or organization unit making the request. 
  • Common Name (CN): The Common Name is the Host + Domain Name. It looks like "www.company.com" or "company.com".


For more information on Zimbra server using CLI commands, please visit the following web site.

http://wiki.zimbra.com/wiki/Administration_Console_and_CLI_Certificate_Tools

Disclaimer:

Thawte has made efforts to ensure the accuracy and completeness of the information in this document. However, Thawte makes no warranties of any kind (whether express, implied or statutory) with respect to the information contained herein. Thawte assumes no liability to any party for any loss or damage (whether direct or indirect) caused by any errors, omissions, or statements of any kind contained in this document. Further, Thawte assumes no liability arising from the application or use of the product or service described herein and specifically disclaims any representation that the products or services described herein do not infringe upon any existing or future intellectual property rights. Nothing herein grants the reader any license to make, use, or sell equipment or products constructed in accordance with this document. Finally, all rights and privileges related to any intellectual property right described herein are vested in the patent, trademark, or service mark owner, and no other person may exercise such rights without express permission, authority, or license secured from the patent, trademark, or service mark owner. Thawte reserves the right to make changes to any information herein without further notice.  

Find Answers


Search Tips