@hackage http-client-tls0.3.5.2

http-client backend using the connection package and tls library

http-client-tls

Full tutorial docs are available at: https://haskell-lang.org/library/http-client

Use the http-client package with the pure-Haskell tls package for secure connections. For the most part, you'll just want to replace defaultManagerSettings with tlsManagerSettings, e.g.:

import Network.HTTP.Client
import Network.HTTP.Client.TLS

main :: IO ()
main = do
    manager <- newManager tlsManagerSettings
    ...