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

How can I disable Cert Verification? #28

Open
microanees opened this issue Feb 15, 2022 · 1 comment
Open

How can I disable Cert Verification? #28

microanees opened this issue Feb 15, 2022 · 1 comment

Comments

@microanees
Copy link

Is there a knob equivalent to
requests.get('https://kennethreitz.com', verify=False)

to address this for test environments..
x509: certificate signed by unknown authority

@meoww-bot
Copy link

Hi, I already finish it at https://github.com/meoww-bot/requests

I've tested it, cause these's a website with self sign ssl certificate I need login with golang.

example:

skipssl := new(requests.InsecureSkipVerify)

req := requests.Requests(skipssl)

// do your requests
...

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

2 participants