Ignoring bad certificate does not work
Open
- Dominant language
- Haskell
- Stars
- 381
- Forks
- 72
- PR merge metrics
- No merged PRs in 30d
Description
For testing purposes, I need to ignore a self-signed certificate. I have tried getWith using the TLSSimpleSettings as shown here: https://gist.github.com/j-keck/4f025ea39d6da259c1dc - but I'm still getting the certificate error:
(InternalException (HandshakeFailed (Error_Protocol ("certificate has unknown CA",True,UnknownCa))))
Simplified example code:
let opts = defaults & manager .~ Left (mkManagerSettings (TLSSettingsSimple True False False) Nothing)
r <- getWith opts url
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.