mirror of
https://github.com/home-assistant/core.git
synced 2025-05-01 20:57:51 +00:00

* Added option to use self-signed certificates I defined a new option for configuration.yaml, 'verify_ssl', which is set to 'True' by default for obvious security reasons. However, in order to work with self-signed certificates, it is now possible to disable the certificate validation.(eg, I use a nextcloud instance with self-signed certificates) Credit for code in line 57 goes to user 'gen2' on the homeassistant community, who suggested this solution. https://community.home-assistant.io/t/caldav-configuration/38198/25 I only took it a step further and made it a config option. * Update calendar.py * Added the import of CONF_VERIFY_SSL I hope this passes the test now... * Update homeassistant/components/caldav/calendar.py Cool! Didn't know about that possibility, my coding experience is literally two weeks. Thanks for sharing! Co-Authored-By: anrudolph <49680492+anrudolph@users.noreply.github.com> * Removed some lines of code I think, in order for the last commit to work, these lines have to be removed. Correct? * Trying to get this passing the checks Trying around to get the simplified code to work