Mat931 / digitalstrom-homeassistant

digitalSTROM integration for Home Assistant
MIT License
14 stars 1 forks source link

Server certificate validation failed #5

Closed hakensline closed 5 months ago

hakensline commented 5 months ago

Hello Mat !

Tanks for your Job !

I want to add your integration to my HA v2023.12.4 but when HA alone detects my DSS, I enter the user password as well as the fingerprint key

07:97:68:03:29:9C:3A:B5:44:B8:0D:C2:69:B8:CA:F4:C7:92:E7:C8:54:D3:3E:84:88:65:A8:BA:D7:5D:AF:BF

and y have a error message Server certificate validation failed Capture d'écran 2023-12-28 171136

You have any ideas for me ?

My DSS its updated to V 1.19.6.3

Many Tanks

Mat931 commented 5 months ago

That usually means that the fingerprint does not match the server certificate. Did you follow these steps to get the fingerprint from the DSS?

hakensline commented 5 months ago

Yes exactly but not working. Its not possible to bypass this ?

Mat931 commented 5 months ago

Not with the current version of this component. I can add an option to bypass it in a future version.

hakensline commented 5 months ago

Ok i have reboot my DSS, change password but noway :-(

Mat931 commented 5 months ago

I added an option to bypass the verification in version 0.0.5. To bypass the fingerprint type the word "ignore" into the fingerprint field.

hakensline commented 5 months ago

Tanks ! Its work ! Nice job :-)