HTTP over SSL/TLS support for Warp via the TLS package


Version on this page:
LTS Haskell 19.8:3.3.2
Stackage Nightly 2022-05-25:3.3.2
Latest on Hackage:3.3.2

See all snapshots warp-tls appears in

MIT licensed by Michael Snoyman
Maintained by michael@snoyman.com
This version can be pinned in stack with:warp-tls-,1329

Module documentation for

  • Network
    • Network.Wai
      • Network.Wai.Handler
        • Network.Wai.Handler.WarpTLS


Serve WAI applications using the Warp webserver and the Haskell TLS library.

In order to generate a self-signed certificate for testing, try the following:

openssl genrsa -out key.pem 2048
openssl req -new -key key.pem -out certificate.csr
openssl x509 -req -in certificate.csr -signkey key.pem -out certificate.pem