How to generate a CSR for Mdaemon

The example below will generate a CSR for a 2048 bit key length certificate.

 

  1. Purchase an SSL Certificate from an issuing authority.
  2. Create the Certificate Signing Request (CSR): 
    1. Log into your mail server using an Administrator account.
    2. Create a file named CSRParameters.inf on the C:\ drive using the contents below as a template:

      	        [NewRequest]
      	        Subject="CN=mail.example.com,OU=Research In Motion Limited,O=Research In Motion Limited,S=Nevada,L=Las Vegas,C=US"
      	        KeySpec=1
      	        KeyLength=2048
      	        Exportable=TRUE
      	        MachineKeySet=TRUE
      	        SMIME=False
      	        PrivateKeyArchive=FALSE
      	        UserProtected=FALSE
      	        UseExistingKeySet=FALSE
      	        ProviderName="Microsoft RSA SChannel Cryptographic Provider"
      	        ProviderType=12
      	        RequestType=PKCS10
      	        KeyUsage=0xa0
      	        Silent=TRUE
      	        [EnhancedKeyUsageExtension]
      	        OID=1.3.6.1.5.5.7.3.1
      	        
    3. Open a command prompt.
    4. Change the directory to the C:\ path. 
    5. Type in the following command:
      C:\>certreq -new CSRParameters.inf CSROutput.pem 
    6. Open Windows Explorer and browse to the C:\ directory to locate the CSROutput.pem file.
    7. Using the CSROutput.pem file, go back to the certificate authority and use the file to request your certificate.
  3. Install the certificate:
    1. Download the certificate as a .crt file
    2. On the server, open a command prompt.
    3. Navigate to the directory that contains the CRT file (C:\ in this example).
    4. Enter the following command (substitute mail.example.com.crt for the actual name of the .crt file you received from the certificate authority):
      C:\>certreq -accept mail.example.com.crt
  4. The certificate will now be available in MDaemon when SSL/HTTP configurations have been created.
  5. Open CSR file with Notepad or Wordpad, copy all and paste into this tool can test CSR is valid and accurate or not: https://cryptoreport.websecurity.symantec.com/checker/views/csrCheck.jsp
  6. Copy the entries of CSR file and send it to VietNamHost , or paste it to the online SSL order screen on VietNamHost website.

See Mdaemon SSL Installation Instructions.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to generate a CSR in IIS 5.x or 6.x Web Server

1) From the Administrative Tools in the Control Panel, run Internet Information Services....

How to generate a CSR in Microsoft IIS 7 / 7.5

Click Start, then Administrative Tools, then Internet Information Services (IIS) Manager....

How to create a CSR on Windows Server 2012 - IIS 8 and Windows Server 2012 R2 - IIS 8.5

From the Start screen, click or search for Internet Information Services (IIS) Manager and...

SSL Certificate Country Codes

Country Codes are required when creating a Certificate Signing Request. The SSL Certificate...

How to generate a CSR for Microsoft Exchange 2007

To create a Certificate Signing Request (CSR) in Exchange 2007 use the cmdlet...