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 ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • 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 ...
                      • 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 ...
                      • 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 (since ...
                      • Fix: Mail fetching stops due to invalid characters in the attachment name

                        Issue: Mail fetching being stopped due to invalid characters "?" , ":" in the filename. In this case, the eml file's subject contains ":" character and so, while uploading the .eml as attachment, error is thrown (Only in windows server) Trace: ...