--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/groups/opt_out.
HABDroid would have to be updated to handle this type of TLS certificate handling? And probably core openHAB as well to allow the option to only accept TLS authenticated connections?
Could you post your nginx.conf, respectively the rev proxy detail you use for openHAB?
I'm trying to help Ben get this working, but I think I'm seeing openHAB return a broken (as in incorrect) URI to the sitemap when using habDroid and the iOS app.
Are you rewriting URLs in nginx?
FWIW, accessing OH from a Web browser through either Stunnel or nginx works.
Thanks,
-JP
2003.01.18 17:46:07 LOG3[6093:32770]: SSL_accept: 1407609C: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
then your stunnel runs in server mode (without client = yes) and your web browser is connecting to it as if it is a normal webserver, ala http://example.com/.
If stunnel is supposed to be running as a client, then fix your stunnel.conf. If you do mean to be running as an SSL server then point your browser at https://host:port/ instead of http://host:port/.
Do you (or anyone else) have any idea what could be going wrong here? It looks like it is something to do with the openHAB apps themselves, since everything works just fine using a Chrome browser over stunnel.
Is it possible the apps (in different places since the behaviour is slightly different) are sending http requests even when configured to connect using SSL? This would explain the error in the stunnel logs and corresponds with what the stunnel FAQs are saying.
I am a bit of a loss to explain it otherwise. Open to any other suggestions!
Best regards,
Ben