I try config Zoneminder component but i have problem with ssl. my server run Elastix, Zoneminder and homeassistant and the log of homeassistant is this:
Dec 28 22:09:32 localhost hass: File “/usr/local/lib/python3.5/site-packages/homeassistant/components/zoneminder.py”, line 59, in setup
Dec 28 22:09:32 localhost hass: return login()
Dec 28 22:09:32 localhost hass: File “/usr/local/lib/python3.5/site-packages/homeassistant/components/zoneminder.py”, line 73, in login
Dec 28 22:09:32 localhost hass: req = requests.post(ZM[‘url’] + ‘/index.php’, data=login_post)
Dec 28 22:09:32 localhost hass: File “/usr/local/lib/python3.5/site-packages/requests/api.py”, line 110, in post
Dec 28 22:09:32 localhost hass: return request(‘post’, url, data=data, json=json, **kwargs)
Dec 28 22:09:32 localhost hass: File “/usr/local/lib/python3.5/site-packages/requests/api.py”, line 56, in request
Dec 28 22:09:32 localhost hass: return session.request(method=method, url=url, **kwargs)
Dec 28 22:09:32 localhost hass: File “/usr/local/lib/python3.5/site-packages/requests/sessions.py”, line 488, in request
Dec 28 22:09:32 localhost hass: resp = self.send(prep, **send_kwargs)
Dec 28 22:09:32 localhost hass: File “/usr/local/lib/python3.5/site-packages/requests/sessions.py”, line 609, in send
Dec 28 22:09:32 localhost hass: r = adapter.send(request, **kwargs)
Dec 28 22:09:32 localhost hass: File “/usr/local/lib/python3.5/site-packages/requests/adapters.py”, line 497, in send
Dec 28 22:09:32 localhost hass: raise SSLError(e, request=request)
Dec 28 22:09:32 localhost hass: requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:646)#033[0m
Dec 28 22:09:32 localhost hass: #033[32m16-12-28 22:09:32 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service_call_id=140516731344992-7, service=create, domain=persistent_notification, service_data=message=The following components and platforms could not be set up:
Dec 28 22:09:32 localhost hass: * zoneminder
Dec 28 22:09:32 localhost hass: * sensor.zoneminder
Dec 28 22:09:32 localhost hass: * switch.zoneminder
Dec 28 22:09:32 localhost hass: Please check your config, notification_id=invalid_config, title=Invalid config>#033[0m
what is the problem? Any solution?