Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-725

ApiExecutor allows use of individual truststore and keystore

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Medium
    • Resolution: Fixed
    • 2.5.4
    • 2.5.6, 2.6.3
    • None

    Description

      Current Situation

      The APIExecutor Java class used by JITL Jobs requires the name of the truststore to be specified in order to determine which truststore to use from the list of truststores in the Agent's private.conf configuration file.

      • JITL jobs do not specify the truststore parameter.
      • The APIExecutor therefore falls back to use of the default name https-truststore.p12 and does not allow use of a different name or path of the truststore.

      Desired Behavior

      The APIExecutor should use all truststores from the related configuration in the private.conf file. The JITL jobs do not specify the truststore and keystore to be used.

      Additionally, the ApiExecutor should support custom jobs that do not make use of the private.conf file, but use different truststores and keystore paths.

      Therefore two methods should be introduced to configure the path to the truststore, the truststore type and password. The same applies to a keystore with an optional password for the private key: 

      • setTruststore(String path, String type, String storePwd)
      • setKeystore(String path, String type, String storePwd, String keyPwd)

      Patches

      These patches can also be applied to any 2.5.x version and any 2.6.x version respectively.

      Attachments

        Activity

          People

            sp Santiago Aucejo Petzoldt
            sp Santiago Aucejo Petzoldt
            Ajay Kumbhkar Ajay Kumbhkar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: