Cert Generation for Windows and Linux OS

Cert Generation for Windows and Linux OS


For Windows:



1. Download the attached 'wincertgeneration' zip file and extract it in ..\ManageEngine\Servicedesk directory.


After extraction, you should find the below files.,


    gencert.bat under  ..\ManageEngine\Servicedesk


    Cert.jar should be under  ..\ManageEngine\Servicedesk\lib directory.




2.Connect to the command prompt and goto  ..\ManageEngine\Servicedesk and run the batch file with following format:


C:> ..\ManageEngine\Servicedesk>gencert.bat exchangeservername:portnumber




Example: cmd>gencert.bat pop.gmail.com:995


3. When you run the command You would receive an exception PKIX, and then it would ask to enter a value, enter '1', it will generate a file named 'jssecacerts' under ..\ManageEngine\Servicedesk.


4. Move the 'jssecacerts' to the location  ..\ManageEngine\Servicedesk\jre\lib\security folder and then restart the ServiceDesk Plus.


5. Now, save the Incoming mail server settings and start fetching.



For Linux:



1. Download the attached 'lincertgeneration' zip file and extract in ../ManageEngine/Servicedesk directory.


After extraction you should find the below files.,


    gencert.sh under  ../ManageEngine/Servicedesk


    Cert.jar should be under  ../ManageEngine/Servicedesk/lib directory.


2. Connect to the console and goto  ../ManageEngine/Servicedesk and execute the command line with the below syntax.


 ../ManageEngine/Servicedesk]#sh gencert.sh exchangeservername:portnumber


Example:../ManageEngine/Servicedesk]#sh gencert.sh pop.gmail.com:995


3. When you run the command You would receive an exception PKIX, and then it would ask to enter a value, enter '1', it will generate a file named 'jssecacerts' under ../ManageEngine/Servicedesk.


4. Move the 'jssecacerts' to the location  ../ManageEngine/Servicedesk/jre/lib/security folder and then restart the ServiceDesk Plus.


5. Now, save the Incoming mail server settings and start fetching.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Applying mail server's certificate in ServiceDesk Plus

                      To establish a secure connection between ServiceDesk Plus and email servers configured with a self-signed certificate, follow these steps: 1. Download the attached file. 2. Extract the files to the ServiceDesk Plus directory. 3. The files will now be ...
                    • List of mail fetching issues and solutions

                      Scenario 1 : Mail fetching issue due to Invalid or No PKIX certificate .   Log traces for Mail Fetching  issues Exception when connecting to store.|javax.mail.MessagingException: sun.security.validator.ValidatorException: PKIX path building failed: ...
                    • Mail fetching failed - PKIX path building failed.

                      Cause: If the SSL Certificate in mail server is a self signed certificate then it is not imported in the ServiceDeskPlus-MSP java environment while using the POPS/IMAPS protocol. Error Trace in logs: javax.net.ssl.SSLHandshakeException: ...
                    • Mail Fetching: Inline Images Dropping Due to Invalid Extension

                      Issue: The inline image's file name from the email doesn't contain the extension. Example: filename = sys_attachment.dosys_id=5bb0751c8303b5dc96a238226daad371 As a result, the inline image gets stripped during the mail fetching process. The sender of ...
                    • Mail fetching - deleted flag issue

                      This message will be thrown, when you have provided a shared mailbox. The concept here is, SDP MSP reads the mail from the configured mailbox and adds it as a request. During the time, if some other application fetches the mail from the same mailbox ...