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?

        Resources

            • Related Articles

            • 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: ...
            • Troubleshooting Oauth configuration for mail server settings

              Oauth in ServiceDesk Plus / AssetExplorer for Mail       SDP supports Oauth configuration for Office365 and GSuite mailboxes since 11106 build. Office365 mailboxes can be configured with Oauth authentication using EWS (since 11106) and IMAP / SMTP ...
            • Apply certificate for EWS mail configuration in SDP.

                    EWS protocol support is introduced in 10006 version of SDP ( Limited to windows servers ). User can configure EWS for both incoming and outgoing settings in SDP. Note: If the mail server is O365 , then you need not perform these steps as the ...
            • 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 ...
            • Apply Certificate for Office365 MailBoxes which is using OAuth Configurations

              User can configure O365 in both incoming & outgoing settings in SDP.  To Connect mail server from SDP, its certificates should be available in SDP's Keystore. This document is for users who have applied internal CA Certificate for O365 OAuth ...