HTTP2 / SSL

Apart from regular http 1.1, eddi also supports http2, thus connecting via https.

In the github master as well as the provided docker containers on docker hub, there is a self-signed keystore provided in order for eddi to run https out-of-the-box when started up.


Although, running eddi with the provided self-signed certificate is absolutely fine for playing around with it locally, for production use it is highly recommended to use your own certificate as the provided certificate is publicly available and thus isn't considered to be safe!

In order to make a https connection to third-party providers such as Facebook Messenger, you need to provide a certificate signed by a trusted certification authority!


In order to update the keystore in eddi, you will need to create your own docker image that has eddi as its base image and override the provided keystore with your own.

The path of the keystore is: apiserver/resources/keystore/eddi_selfsigned.jks

In case you would like to change the name of you keystore, you will also need to alter the keystore name in the config value of "webServer.keyStorePath"  in the properties file located here: apiserver/config/production/webServer.properties


As eddi allows you to override the configs via VM params or environment variables, you could also pass on this param to the VM such as -DwebServer.keyStorePath=<somePath> . For more information about this, see the Setup instructions.