Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ghost opened this issue Jun 16, 2014 · 5 comments
Closed

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

ghost opened this issue Jun 16, 2014 · 5 comments

Comments

@ghost
Copy link

ghost commented Jun 16, 2014

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 ...
@matleh
Copy link

matleh commented Jun 16, 2014

You can do http --verify=no https://129.168.4.137/test, at least with the current master branch.

@jkbrzt
Copy link
Member

jkbrzt commented Jun 28, 2014

Yes, --verify=no does the trick.

@jkbrzt jkbrzt closed this as completed Jun 28, 2014
@jkbrzt jkbrzt added the invalid label Jun 28, 2014
@zeknox
Copy link

zeknox commented Jan 2, 2020

It would be nice if the the utility also accepted --verify=false

@jkbrzt
Copy link
Member

jkbrzt commented May 27, 2020

@zeknox
Copy link

zeknox commented May 27, 2020

@jakubroztocil you're correct, it did work just now 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants