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.