Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.13
-
None
Description
Current Situation
When using a JITL Job template such as JobSchedulerCheckHistoryJSAdapterClass that makes use of an HTTPS connection then an error is raised. Such jobs try to retrieve an access token from JOC Cockpit which is not successful and raises the error
- [WARN ] (AccessTokenProvider.java:222) - ... login failed with cm9vdDpyb290 at https://localhost:48446/joc/api
Desired Behavior
Any JITL Job templates should support HTTPS connections for access to JOC Cockpit.
The https access can be configured by these parameters
How the parameters are assigned:
The parameters can be assigned directly as task/order parameters.
When there are no order/task parameters the value are readed from from the file $scheduler_data/config/private/private.conf. The values are expected in joc.webservice.jitl
If credential_store is specified the values for the parameters will be handled as the uri for the credential_store.
If there are no parameters specified, some values will be readed from the system.properties. At last the default value will be used.
keystore_password: The password for the keystore
Task/Order Parameter: keystore_password
Private.conf: joc.webservice.jitl/joc.keystorepassword
key_password: The password for the key
Task/Order Parameter: key_password
Private.conf: joc.webservice.jitl/joc.keypassword
keystore_path: The path for the keystore
Task/Order Parameter: keystore_path
Private.conf: joc.webservice.jitl/joc.keystorepath
keystore_type: The type for the keystore. Default JKS
Task/Order Parameter: keystore_type
Private.conf: joc.webservice.jitl/joc.keystoretype
system property: javax.net.ssl.keyStoreType
Default: JKS
truststore_password: The password for the truststore
Task/Order Parameter: truststore_password
Private.conf: joc.webservice.jitl/joc.truststorepassword
truststore_path: The path for the truststore
Task/Order Parameter: truststore_path
Private.conf: joc.webservice.jitl/joc.truststorepath
truststore_type: The type for the truststore. Default JKS
Task/Order Parameter: truststore_type
Private.conf: joc.webservice.jitl/joc.truststoretype
system property: javax.net.ssl.trustStoreType
Default: JKS