You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This exception occurs because SSL certificates are signed against hostnames and not IP addresses
Traceback (most recent call last):
File "hostname_issue.py", line 4, in <module>
cxn = connect(host='192.168.1.68')
File "d:\code\git\msl-network\msl\network\client.py", line 68, in connect
password_manager, certificate, disable_tls, debug)
File "d:\code\git\msl-network\msl\network\client.py", line 558, in start
if not self._create_connection(self._host_manager, port, certificate, disable_tls, timeout):
File "d:\code\git\msl-network\msl\network\network.py", line 271, in _create_connection
ssl=context,
File "C:\Users\j.borbely\Miniconda3\envs\msl\lib\asyncio\base_events.py", line 568, in run_until_complete
return future.result()
File "C:\Users\j.borbely\Miniconda3\envs\msl\lib\asyncio\base_events.py", line 970, in create_connection
ssl_handshake_timeout=ssl_handshake_timeout)
File "C:\Users\j.borbely\Miniconda3\envs\msl\lib\asyncio\base_events.py", line 998, in _create_connection_transport
await waiter
File "C:\Users\j.borbely\Miniconda3\envs\msl\lib\asyncio\sslproto.py", line 526, in data_received
ssldata, appdata = self._sslpipe.feed_ssldata(data)
File "C:\Users\j.borbely\Miniconda3\envs\msl\lib\asyncio\sslproto.py", line 189, in feed_ssldata
self._sslobj.do_handshake()
File "C:\Users\j.borbely\Miniconda3\envs\msl\lib\ssl.py", line 763, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '192.168.1.68'. (_ssl.c:1045)
The text was updated successfully, but these errors were encountered:
This exception occurs because SSL certificates are signed against hostnames and not IP addresses
The text was updated successfully, but these errors were encountered: