Can be done in http-client with the following:
newManager $ mkManagerSettings (def { settingDisableCertificateValidation = True }) Nothing >>= \manager -> withResponse "https://insecure" manager $ \res -> print $ responseStatus res
I think you'd need to internally use mkManagerSettings from Network.HTTP.Client.TLS.
Can be done in http-client with the following:
newManager $ mkManagerSettings (def { settingDisableCertificateValidation = True }) Nothing >>= \manager -> withResponse "https://insecure" manager $ \res -> print $ responseStatus resI think you'd need to internally use mkManagerSettings from Network.HTTP.Client.TLS.