Error in RPA creation due to untrusted certificate solved

If you are facing the below issues while creating a RPA BPMN or RPA Add on, Please follow the steps below,

Steps to Install or Import certificate as a trusted certificate in JDK

If the SSL is already enabled in SapphireIMS then export the certificate in .cer format by following the below steps:

  1. Open SapphireIMS/HxC URL in a browser where the certificate is enabled (valid one)
    image

  2. Click on the lock icon of the URL in the browser as highlighted above

  3. Click on Certificate (Valid)

  4. Go to Details tab

  5. Click on ‘Copy to File’

  6. Click on Next and choose ‘Base-64 encoded X.509(.CER)’

  7. Browse and save in desktop (Or any other desired location) > provide name as trustcer > click next > click finish

  8. trustcer.cer files will be created in desktop (Or the selected location), Copy the file and paste it in the below paths

Installed Drive:\SapphireIMS\WebManagement\JDK\jre\lib\security

And (above is for SapphireIMS and below is for RPA)

Installed Drive:\SapphireIMS\Plugins\SapphireIMSRPA\jdk\jre\lib\security

9a. Installing or importing in JDK for SapphireIMS/HxC:

Open CMD as Administrator and go to the below path

Installed Drive:\SapphireIMS\WebManagement\JDK\jre\lib\security

Run the below command

keytool -import -trustcacerts -keystore cacerts -storepass changeit -noprompt -alias mycertt -file trustcer.cer

Ex: D:\SapphireIMS\WebManagement\JDK\jre\lib\security> keytool -import -trustcacerts -keystore cacerts -storepass changeit -noprompt -alias mycertt -file trustcer.cer

Note: You will get a response as ‘Certificate was added to keystore’

9b. Installing or importing in JDK for RPA:

Open CMD as Administrator and go to the above path

Installed Drive:\SapphireIMS\Plugins\SapphireIMSRPA\jdk\jre\lib\security

Run the below command

keytool -import -trustcacerts -keystore cacerts -storepass changeit -noprompt -alias mycertt -file trustcer.cer

Ex: D:\SapphireIMS\Plugins\SapphireIMSRPA\jdk\jre\lib\security> keytool -import -trustcacerts -keystore cacerts -storepass changeit -noprompt -alias mycertt -file trustcer.cer

Note: You will get a response as ‘Certificate was added to keystore’

  1. Restart SapphireIMS and RPA services.