Skip to content

Add an --insecure / -k option to disable SSL certificate verification #226

@ghost

Description

When testing https to a test machine that has a self-signed certificate, it is handy to be able to disable certificate verification.

$ http https://192.168.4.137/test

http: error: SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:547)

vs:

$ curl --insecure https://192.168.4.137/test
... got what I was expecting here ...

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