We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
curl -k
I could not find in the documentation a way of simply ignoring bad certificates, but I would like to do so
The text was updated successfully, but these errors were encountered:
Here is what I do:
ignoreTLSCertificatesSettings :: Bool -> ManagerSettings ignoreTLSCertificatesSettings cadisable = mkManagerSettings (TLSSettingsSimple cadisable False False) Nothing withTlsSettings :: Options -> Bool -> Options withTlsSettings opts cadisable = opts & manager .~ Left (ignoreTLSCertificatesSettings cadisable)
Sorry, something went wrong.
Thanks, @abailly. For obvious reasons I don't want to document this :-)
I found it useful for automated testing purpose without going through the hassle of setting up a whole closed circuit CA stack :-)
No branches or pull requests
I could not find in the documentation a way of simply ignoring bad certificates, but I would like to do so
The text was updated successfully, but these errors were encountered: