Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1670

Authentication and HTTPs for JobScheduler Master

    XMLWordPrintable

Details

    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 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".

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              jz Joacim Zschimmer
              Oliver Haufe Oliver Haufe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: