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 - Error while processing attachment and inline image.

                      Issue During the process of fetching emails, attachments are dropped as a result of the presence of directory traversal characters. Furthermore, an issue arises when processing inline images, this particular error related to inline images results in ...
                    • 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 ...