Unable to access Domoticz from apps when x509 client auth is active
Posted: Wednesday 19 April 2017 22:00
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.
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.