Skip to content

Option to disable certificate CA verification #277

@slondr

Description

@slondr

Right now it seems like the only way with native_tls to accept self-signed certificates is to disable all certificate validation with the danger_accept_invalid_certs function. This is way, way, way more permissive than I would like my application to be, but currently native_tls has no more granular options to permit self-signed certs but reject certs for any other validity issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions