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


Version on this page:
LTS Haskell 21.24:3.3.6@rev:1
Stackage Nightly 2023-12-10:3.4.3
Latest on Hackage:3.4.3

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