requests icon indicating copy to clipboard operation
requests copied to clipboard

How can I disable Cert Verification?

Open microanees opened this issue 3 years ago • 1 comments

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

microanees avatar Feb 15 '22 03:02 microanees

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
...

meoww-bot avatar Nov 02 '22 17:11 meoww-bot