Page 1 of 1

Unable to access Domoticz from apps when x509 client auth is active

Posted: Wednesday 19 April 2017 22:00
by anderslange
Hi guys

I'm running Domoticz, MyDomoAtHome gateway and an nginx reverse proxy server on a Raspberry Pi 3.

I've successfully setup the nginx proxy with a self-signed server certificate, configured port forwarding of port 80 and 443 in my router, and using freedns to map my dynamic public IP to a DNS name.

As long as I doesn't enable x509 client authentication, I can connect remotely to both the MyDomoAtHome setup site and the Domoticz Web UI, as well as connect to my Domoticz server through both the Domoticz and ImperiHome apps on my Android phone (Samsung S7).

But as soon as I enable x509 client authentication, I can't get the Domoticz nor the ImperiHome app to connect any more! Access through a webbrowser (Chrome) work just fine (as long as I have the Client certificate installed)!

I don't have any authentication requirements on the Domoticz server, since the x509 client auth on the nginx proxy should be more than adequate...

But I simply can't figure out why I can't get the Domoticz or ImperiHome apps to connect, when I activate x509 client auth on the nginx proxy server.

Re: Unable to access Domoticz from apps when x509 client auth is active

Posted: Thursday 20 April 2017 1:20
by Damsee
Can't remember where i read this but i think both apps can not use x509 authentication method.

I forget those apps for that reason and i'm using direct connection to my domoticz website with my S7 too (after installing/importing the x509 certificate on your device and perform right settings for port forwarding on your router).

Hope thats helps :)