diff --git a/kasa/transports/sslaestransport.py b/kasa/transports/sslaestransport.py index 4f3cd4cc5..16054833e 100644 --- a/kasa/transports/sslaestransport.py +++ b/kasa/transports/sslaestransport.py @@ -173,7 +173,7 @@ def _handle_response_error_code(self, resp_dict: Any, msg: str) -> None: raise DeviceError(msg, error_code=error_code) def _create_ssl_context(self) -> ssl.SSLContext: - context = ssl.SSLContext() + context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) context.set_ciphers(self.CIPHERS) context.check_hostname = False context.verify_mode = ssl.CERT_NONE