Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1958

Allow optional http confirguration on webadmin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Spark-java supports https from JKS keystore.

      We can simply provide some configuration options for it :
      ```

      1. Defaults to false
        https.enabled=false
      1. Compulsory when enabling HTTPS
        #https.keystore=/path/to/keystore
        #https.password=password
      1. Optional when enabling HTTPS (self signed)
        #https.trust.keystore
        #https.trust.password
        ```

      Can be tested with a CURL request. For instance :

      ```
      % curl -XGET -k https://127.0.0.1:34895/domains
      ["horizon","localhost.","127.0.0.1"]
      ```

      However, configuration is now very simple (isEnable + port) and we pass it directly through constructor. We might need to rework configuration, and extract it to an other object.

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: