FOCUS HERE > STARTING POINT OpenSSL.SSL.Error: [('SSL routines', 'state_machine', 'internal error')]

mssqlclient.py ARCHETYPE/sql_svc:M3g4c0rp123@10.10.10.27 -windows-auth -debug
Impacket v0.9.21 - Copyright 2020 SecureAuth Corporation

[+] Impacket Library Installation Path: /usr/local/lib/python3.8/dist-packages/impacket
[*] Encryption required, switching to TLS
[+] Exception:
Traceback (most recent call last):
File “/usr/local/bin/mssqlclient.py”, line 179, in
res = ms_sql.login(options.db, username, password, domain, options.hashes, options.windows_auth)
File “/usr/local/lib/python3.8/dist-packages/impacket/tds.py”, line 917, in login
tls.do_handshake()
File “/usr/local/lib/python3.8/dist-packages/OpenSSL/SSL.py”, line 1638, in do_handshake
self._raise_ssl_error(self._ssl, result)
File “/usr/local/lib/python3.8/dist-packages/OpenSSL/SSL.py”, line 1378, in _raise_ssl_error
_raise_current_error()
File “/usr/local/lib/python3.8/dist-packages/OpenSSL/_util.py”, line 54, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: [(‘SSL routines’, ‘state_machine’, ‘internal error’)]
[-] [(‘SSL routines’, ‘state_machine’, ‘internal error’)]

i’m also facing same error

OpenSSL is an open-source software library that provides encryption and cryptographic functions. If you encounter an OpenSSL error, here are some tips to fix it:

Check for updates: Make sure that you have the latest version of OpenSSL installed. Check for updates and install them if available.

Restart your computer: Sometimes, simply restarting your computer can fix OpenSSL errors. This can help refresh your system and resolve any temporary issues.

Check your OpenSSL configuration: Make sure that your OpenSSL configuration is correct. Check your OpenSSL configuration file and ensure that it is configured properly.

Regards,
Rachel Gomez