Java Runtime Environment: 11.0.15 (Temurin-11.0.15+10) (running in Docker)
openHAB version: 3.3.0 (running in Docker)
ConBee 2 USB stick
Dear community,
As you can read, I’m running openHAB in Docker on my Raspberry Pi 4. I want to encrypt all web traffic with openHAB via TLS.
My first approach was to put openHAB under an URL path (myRaspi/openHAB) and redirect all web traffic for https:myRaspi/openHAB to http:localhost:8080 with nginx, but due to this GitHub issue I failed doing so.
That’s why I at least want to encrypt all traffic to https:myRaspi:8443. For this I need to instruct openHAB running in Docker to use my already existing certificates of myRaspi.
How do I have to pass the already existing certificates to the container and what do I have to configure so that openHAB will properly use them?
There’s nothing special about Docker. Go to what ever volume you’ve mounted into the container for userdata, find the etc/keystore file and manipulate that using keytool.