james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-1958) Allow optional http confirguration on webadmin
Date Wed, 08 Mar 2017 13:52:38 GMT
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message