Hi guys,
I started using openhab docker and are now facing some problems with the http binding.
I get SSLHandshakeExceptions and I don’t know what to do. The cert of the site is valid and I already tried installing it inside the container via
docker exec openhab cp <path>httpsSite.cert /usr/local/share/ca-certificates/httpsSite.crt
docker exec openhab update-ca-certificates
but that had no effect.
Inside the docker is no keytool available and I don’t know in which keystore i had to import the cert either.
I also thought about importing it into the keystore located at userdata/etc/keystore
which I can directly access on my host, but it’s password protected and I could not find the password anywhere.
The log shows the following error:
[ERROR] [org.openhab.io.net.http.HttpUtil ] - Fatal transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[ERROR] [ab.binding.http.internal.HttpBinding] - No response received from 'https://httpsSite'
I hope someone who is not a bloody beginner like me can help me.