[SOLVED] Openhab Android App SSL-Handshake

Hi all,

i got an Openhab Cloud Server running at my own Server. So far everything working great. Now i added a new Openhab to the Cloud and registered a new User.
Access via Website works great. Certificate ist trusted and i got no Problems.
But when I go to the Android APP (Current Version from google Play 2.2.0) i get an Error on my Android 7 System.

Blockquote
SLL-Handshake fehlgeschlagen
URL: https://openhab.******.de/rest/Sitemaps
Username ****@email.de
Password: ********
Exceptopn stack:
javax.net.ssl.SSLHandshakeExceptoin: Handshake failed
javax.net.sll.SSLProtocolException: SSL handshake terminated:
ssl=0x7e680ae500: Failure in SSL library, usually a protocol error
error:10000410:SSL
routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE
(external/boringssl/src/ssl/s3_pkt.c:610
0x7e68018180:0x00000001)
error:1000009a:SSL routines:OPENSSL_internal:HANDSHAKE_FAILURE_ON_CLIENT_HELLO (external/boringssl/src/ssl/s3_clnt.c764
0x7e62500f76:0x00000000

Tried it on an other Tablet and it all works fine. Just this device makes trouble.

Thanks for your help!
Nano

Maybe that helps.
What android-version do you use?

Thank you for your answer.
You nailed it. Its a Huawai P7 with Android 7.0.

Did now the workaround in nginx and changed the

Blockquote
ssl_ecdh_curve secp384r1;

to

Blockquote
ssl_ecdh_curve prime256v1;

and it works fine now.

Thank you for this fast help! :slight_smile:
Nano

1 Like

Please mark as solved.