From 9a4a66b33f5324ae9342653b44d5a18c16d83947 Mon Sep 17 00:00:00 2001 From: starkillerOG Date: Tue, 24 Sep 2024 21:50:45 +0200 Subject: [PATCH] Use insecure SSL cipher for Reolink aiohttp clientsession (#126687) --- homeassistant/components/reolink/host.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/reolink/host.py b/homeassistant/components/reolink/host.py index 527f40469b4..a90b9314440 100644 --- a/homeassistant/components/reolink/host.py +++ b/homeassistant/components/reolink/host.py @@ -30,6 +30,7 @@ from homeassistant.helpers.device_registry import format_mac from homeassistant.helpers.dispatcher import async_dispatcher_send from homeassistant.helpers.event import async_call_later from homeassistant.helpers.network import NoURLAvailableError, get_url +from homeassistant.util.ssl import SSLCipherList from .const import CONF_USE_HTTPS, DOMAIN from .exceptions import ( @@ -69,7 +70,11 @@ class ReolinkHost: def get_aiohttp_session() -> aiohttp.ClientSession: """Return the HA aiohttp session.""" - return async_get_clientsession(hass, verify_ssl=False) + return async_get_clientsession( + hass, + verify_ssl=False, + ssl_cipher=SSLCipherList.INSECURE, + ) self._api = Host( config[CONF_HOST],