Using LetsEncrypt with ServiceDesk on Linux (version 9400 and above)

Using LetsEncrypt with ServiceDesk on Linux (version 9400 and above)

I am running ServiceDesk on Linux and I wanted to use LetsEncrypt with ServiceDesk and have a cron job automatically update ServiceDesk when the LE certs were renewed.

There was a lot I found on the internet but I boiled it down to this:

0 - Prerequisites:

a - install a more modern JRE than ServieDesk uses

Because the version ServiceDesk is using does not set itself up in the environment as JAVA_HOME, I felt safe installing another system based JRE.  As I am on debian I simply installed the default:

sudo apt install default-jre

Which gave me v11.

b - you already have some form of LetsEncrypt installed and certs generated

I personally use acme.sh (https://github.com/acmesh-official/acme.sh) because it allows me to use my DNS provider's API for domain verification, and allows me to set up wildcards.

1 - Use Open SSL to convert the LE certs to a PKCS12 archive
I ran this in my home directory.

openssl pkcs12 -export \
    -in <path and filename of your LE domain certificate> \
    -inkey <path and filename of your LE domain certificate key file> \
    -out ./<name of the output file. I just used my domain name>.p12 \
    -name <your domain name> \
    -CAfile <path to your LE domain certificates>ca.cer \
    -caname "Let's Encrypt Authority X3" \
    -password pass:changeit

This produces a .p12 file.

2 - import the certificates into a keystore

keytool -importkeystore \
    -srckeystore ./<the file from the previous step> \
    -srcstoretype PKCS12 \
    -srcstorepass changeit \
    -destkeystore /data/ManageEngine/ServiceDesk/conf/<whatever you want to call it>.keystore
    -deststoretype JKS \
    -deststorepass <whatever password you want to use> \
    -destkeypass <whatever password you want to use> \
    -alias <your domain name>

3 - configure ServiceDesk for SSL (if you haven't already)

just below Step 3b.

- Copy the keystore to <ServiceDesk_Home>/conf
- execute <ServiceDesk_Home>/bin/changeWebServerPort.sh <https port you want> https
- update the name of the keystore and the keystore password in the file <ServiceDesk_Home>/conf/server.xml 

5 - restart ServiceDesk

Here are the most useful reference I found:


      • Sticky Posts

      • Upgrading to ServiceDesk Plus 15100: Important Information

        We are pleased to announce that the 15100 patch file for ServiceDesk Plus is now made available to our customers. To ensure a smooth transition, we conduct a thorough sanity check on each customer's ServiceDesk Plus setup before providing the patch. If
      • ManageEngine Supportcenter Plus - version 14.8 - Build - 14830 is available

        Dear User(s) Greetings for the day. We released Supportcenter Plus - version 14.8 - Build - 14830. Behaviour Changes: SCP-3505 : From this release, the customer portal will show only the latest announcements. Earlier, all announcements including the past
      • Ability to Assign Technician in another group from Dropdown.

        We currently have an On-Prem instance with multiple groups. All of the tickets default to the Tier 1 group. Many times, the Tier 2 team forwards in tickets for themselves. It would be beneficial if you could assign multiple tickets from the Requests' Assign dropdown no matter what group the technician is in. SDP should be smart enough to automatically change the group based on what technician you select. When I select the technician I'd like to assign to, *the technician themselves* it gives me an
      • Steps to secure MSSQL database connection

        Hello folks, This post explains you the steps that need to be followed to secure the database connection in ServiceDesk Plus. How to connect secure MS SQL Server?  Summary of Steps:          1. Create SSL certificate            2. Import the SSL certificate to SDP setup.          3. Enable SSL Encryption in SQL Server Step 1 & 2:          To start this process, we need to create an "SSL Certificate" it could be either self-signed or third party certificate.          Do follow the below steps in MS
      • SDP SAML SSO

        Hi, is possible to use SAML authentication for SSO? Your Version : 9.3 Build 9327 Thank you Jacir

                        New to ADSelfService Plus?