Curl command over CLI not working after Update to OH3 Docker


i was running Openhabian 2.5 on a Raspi for years, now i updatet to OH3 Synology Docker and my curl commands are not working anymore.
I´m usig curl in shell scripts, which isn´t working anymore.
If i try the curl over the cli, the command is acceped, but nothing happens.

here is the command:

curl -s -k -H "Content-Type: application/json" -H "Authorization: <Bearer>" --cert /openhab/conf/services/cert.pem --insecure -X GET https://<IP_Adress>:8888/devices 

What i´m doing wrong, or what i have to change on the curl command, that it´s working on OH3 Docker.
There are no log entries, or error, so it´s hard to debug.

Hope someone has an advice.


  • Platform information:
    • Hardware: Synology
    • OS: Docker
    • Java Runtime Environment: 11
    • openHAB version: 3.3.0

Well … how do you know that it is accepted ? It does not show any error message but that is what you instructed curl to do … You use the command switch -s which means silent, do not write out error messages.
Remove the -s from command line and try again.

As easy as can be, if you are working with specialists.
Thanks allot.
It was securty problem of the openssl.cnf in /etc/ssl/openssl.cnf

Just need to set

MinProtocol = TLSv1.0

And now its working.


1 Like