Don't verify ssl certificates for ssdp/upnp devices (#73647)
parent
65c1d4812a
commit
9e4ee0d36d
|
@ -351,7 +351,7 @@ class Scanner:
|
|||
|
||||
async def async_start(self) -> None:
|
||||
"""Start the scanners."""
|
||||
session = async_get_clientsession(self.hass)
|
||||
session = async_get_clientsession(self.hass, verify_ssl=False)
|
||||
requester = AiohttpSessionRequester(session, True, 10)
|
||||
self._description_cache = DescriptionCache(requester)
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ async def async_get_mac_address_from_host(hass: HomeAssistant, host: str) -> str
|
|||
|
||||
async def async_create_device(hass: HomeAssistant, ssdp_location: str) -> Device:
|
||||
"""Create UPnP/IGD device."""
|
||||
session = async_get_clientsession(hass)
|
||||
session = async_get_clientsession(hass, verify_ssl=False)
|
||||
requester = AiohttpSessionRequester(session, with_sleep=True, timeout=20)
|
||||
|
||||
factory = UpnpFactory(requester, disable_state_variable_validation=True)
|
||||
|
|
Loading…
Reference in New Issue