hammock-project/hammock

support https

Closed this issue · 0 comments

Hammock should be able to secure the rest services through TLS sockets.
The configuration should be done in a property file in apache deltaspike.
The certificates should be provided by the client and loaded through the available classpath.

For example, in order to open the https port, the following properties can be placed in a hammock.property file in classpath:

webserver.port=80
webserver.secured.port=443
webserver.keystore.path=/keystore.jks
webserver.keystore.type=JKS
webserver.keystore.password=mypassword
webserver.truststore.path=/truststorejks
webserver.truststore.type=JKS
webserver.truststore.password=mypassword