tonesto7 / homebridge-hubitat-tonesto7

Hubitat Homebridge Plugin
109 stars 34 forks source link

[Feature Request] Ignore SSL Certificate #155

Closed AppleTechy closed 2 years ago

AppleTechy commented 2 years ago

Is your feature request related to a problem? Please describe. I force TLS communication on my Hubitat. Therefore, my app_local key is https://xxx.xxx.x.xxx/apps/api/. When the plugin attempts to connect to my Hubitat I get an error saying, getDevices Connection failure | Message: unable to get local issuer certificate. I was able to confirm that the plugin is working as expected when I tell it to use the cloud API.

Describe the solution you'd like Provide a plugin configuration option be given to either ignore the SSL certificate error or a text input to provide the plugin the pem text version of the CA cert.

Describe alternatives you've considered I tried importing the root certificate into my host's trusted CA store, but once inside the docker container it does not trust the certificate. Even while on the host machine I still also have issues with Debian not like my SANs certificates and when accessing servers via their IP address it doesn't trust them.

Additional context I can provide more details if necessary.

github-actions[bot] commented 2 years ago

This issue has been marked stale automatically after no activity for the last 60 days.