Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Like Agent (JS-1631), the new JobScheduler Master web services (JS-1642) support HTTPS and authentication.
- The JobScheduler Master HTTPS web services are only accessible to authenticated users.
- The credentials are read from data-directory/config/private/private.conf where each user has an entry of the form
jobscheduler.master.auth.users { USERNAME = "HASHSCHEME:HASHEDPASSWORD" ... }
- An example would be (two user sharing the same password):
jobscheduler.master.auth.users { eve = "plain:PASSWORD" joe = "sha512:911b0a07a8cacfebc5f1f45596d67017136c950499fa5b4ff6faffa031f3cec7f197853d1660712c154e1f59c60f682e34ea9b5cbd2d8d5adb0c834f963f30de" # "PASSWORD" # JSON string encoding rules apply. }
- The Agent expects HTTP Basic Authentication.
- The HTTPS certificate with its private key is expected in the Java keystore file ${SCHEDULER_DATA}/config/private/private-https.jks under the alias "master-https".