[ 
https://issues.apache.org/jira/browse/JAMES-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tellier Benoit resolved JAMES-1958.
-----------------------------------
    Resolution: Fixed

Merged with https://github.com/linagora/james-project/pull/688

> 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: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to