Skip to content

Cert Bundle might also be a directory #748

Open
@e7p

Description

@e7p

When using the requests API with the certificate parameter, it is also possible to enter e.g. /etc/ssl/certs as a certificate bundle and it will result in verifying against all certificates lying in this path.

Though, I would recommend also including os.path.isdir() in the statement.

if not os.path.isfile(cert_bundle):

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