Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

may be lack of documentation #115402

Open
Open
Labels
docsDocumentation in the Doc dirtopic-SSL
@kekekkej

Description

@kekekkej

Documentation

I was using code as follows:

context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)context.check_hostname = Falsecontext.verify_mode = ssl.CERT_NONEconn = context.wrap_socket(sock, server_hostname=host)conn.connect((host, port))

this was working fine with python 3.11 but with 3.12 I am getting this error: ssl.SSLError: [SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1000)

some default value has been changed? I can't find it in docs.

also same thing happing when i make request.mount() with ssl context without options and send post request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirtopic-SSL

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp