ViperRNMC
(Viper Rnmc)
1
Hi, when i set up an sensor for mFi i get this message,
16-11-14 22:06:53 homeassistant.components.sensor.mfi: Unable to connect to mFi: (“bad handshake: Error([(‘SSL routines’, ‘ssl3_check_cert_and_algorithm’, ‘dh key too small’)],)”,)
or
16-11-14 20:40:00 homeassistant.components.sensor.mfi: Unable to connect to mFi: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
verify_ssl: false won’t help for this, any solution?
ViperRNMC
(Viper Rnmc)
2
Found a solution
In OSX this is in mfi.app\resources\conf\server.xml
You’ll see two SSL connector elements in that file, each needs an attribute added similar to:
ciphers=“TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA”
Same issue here. How do you get ssl to work without a certificate?
ViperRNMC
(Viper Rnmc)
4
See in my last post, you neem to change the app settings, not hass
Has anyone solved this on windows? Running mFi on a windows xp 64 machine. Thanks
Viper, could you provide some more context to where those lines should be added – preceding lines within the server.xml file perhaps…
ViperRNMC
(Viper Rnmc)
7
I use the docker container, much easier.