Hi, I have a local automation server for my PLCs that only supports TLS1.2, now deprecated, which I’d like to call using REST to get information and set state.
I can configure Firefox to run an old version of TLS handshake and I’ve used that to explore the API to figure out the resources etc I need to call.
Homeassistant it not liking the handshake, see logs below.
I am also using a private certificate … browsers don’t like that either … but can be worked around.
Is there a way to get HAOS to negotiate down to an old SSL version?
Thanks
J
File "/usr/local/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 67, in start_tls
ssl_stream = await anyio.streams.tls.TLSStream.wrap(
File "/usr/local/lib/python3.10/site-packages/anyio/streams/tls.py", line 122, in wrap
await wrapper._call_sslobject_method(ssl_object.do_handshake)
File "/usr/local/lib/python3.10/site-packages/anyio/streams/tls.py", line 130, in _call_sslobject_method
result = func(*args)
File "/usr/local/lib/python3.10/ssl.py", line 975, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:997)