Skip to content

ClientSession ssl error #305

@56907dzq

Description

@56907dzq

In my app, I used ClientSession of Blacksheep, like this:
async with ClientSession(connection_timeout=20.0, request_timeout=60.0, ssl=False) as client:
response = await client.get(url)
I know remote website cert is expired, so I used ssl=False
But response is
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] ,
not behave like requests's params verify.
Does it really work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions