Tellier Benoit created JAMES-1958:
-------------------------------------

             Summary: Allow optional http confirguration on webadmin
                 Key: JAMES-1958
                 URL: https://issues.apache.org/jira/browse/JAMES-1958
             Project: James Server
          Issue Type: Improvement
            Reporter: Tellier Benoit


Spark-java supports https from JKS keystore.

We can simply provide some configuration options for it : 
```
# Defaults to false
https.enabled=false

# Compulsory when enabling HTTPS
#https.keystore=/path/to/keystore
#https.password=password

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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to