Skip to content

Solving "ERROR: module 'ssl' has no attribute 'wrap_socket'" when using Python3.12#33

Open
7own wants to merge 3 commits intozyn3rgy:mainfrom
7own:main
Open

Solving "ERROR: module 'ssl' has no attribute 'wrap_socket'" when using Python3.12#33
7own wants to merge 3 commits intozyn3rgy:mainfrom
7own:main

Conversation

@7own
Copy link
Copy Markdown

@7own 7own commented Sep 29, 2025

Changing old ssl.wrap_socket to newest ssl.SSLContext for Python3.12 compatibility.

Before:

~Checking DCs for LDAP NTLM relay protections~                                                                                              
   dclab.domain.net                                                                                                                
      [-] (LDAP)  server enforcing signing requirements                                                                                     
      [-] ERROR: module 'ssl' has no attribute 'wrap_socket'

After:

~Checking DCs for LDAP NTLM relay protections~         
   dclab.domain.net                                   
      [-] (LDAP)  server enforcing signing requirements
      [-] (LDAPS) channel binding set to "required", no fun allowed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant