Apply certificate of your Exchange Server in SDP for mail fetching / mail sending

Apply certificate of your Exchange Server in SDP for mail fetching / mail sending

Steps to apply certificate of your Exchange Server in SDP

1. Download the file from the link given below and extract it to the Service Desk Plus Home directory


2. Run the extracted batch file (Windows / Linux based on your server's operating system) from the command prompt using the syntax given below:
    Syntax : 

For Windows - gencert.bat <hostname>:<port> 

E.g. cmd> gencert.bat sdpexchange.com:995

For Linux - sh gencert.sh <hostname>:<port>

                        E.g. sh gencert.sh sdpexchange.com:995

3. The server will send the available certificates in the command prompt. You will be asked to enter the certificate number to proceed further. On supplying the certificate number, a file called jssecacerts is generated in the ServiceDesk Plus Home Directory (if the file is already present, this certificate will be appended to it).

4. Copy the jssecacerts file to jre\lib\security folder and restart ServiceDesk Plus application.

5. Save the settings and test the mail connection.

                    New to ADSelfService Plus?

                      • Related Articles

                      • 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 ...
                      • 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 ...
                      • EWS support for TLS version above 1.0- Unable to save mail server setting when using microsoft exchange 2016

                         By default, EWS java api only supports TLSv1.0. Though SDP application supports TLSv1.1 and TLSv1.2 for mail fetching by default ( from 9405 ), EWS java api doesn't use the TLS versions specified in the System Properties. Thus, we are providing ...
                      • 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 Stopped Due to Inline Image Handling

                        Issue Cause : While fetching a mail, in certain mail servers, cid of inline image is not parsed correctly. Once inline stream is converted to image, cid in src attr will be replaced with image url. cid for uploaded inline image in mail content is not ...