cristal-ise / cristal-ise

Main repository of the CRISTAL-iSE framework
GNU Lesser General Public License v3.0
9 stars 1 forks source link

Allow communication to go through HTTPS #250

Open taurus227 opened 5 years ago

taurus227 commented 5 years ago

3aTech ticket: https://icube-sa.atlassian.net/browse/AAAT-662

It should be configurable.

taurus227 commented 5 years ago

The HTTP server is instantiated in https://github.com/TitusTech/hmws/blob/8aa911b9fcf9846c41f84d3631b45bf636d18951/restapi/src/main/java/com/titusgt/restapi/Main.java#L80

We could use a different constructor of GrizzlyHttpServerFactory to enable HTTPS: http://javadox.com/org.glassfish.jersey.bundles/apidocs/2.11/org/glassfish/jersey/grizzly2/httpserver/GrizzlyHttpServerFactory.html