sslcommon-lisphunchentoot

HTTPS with Clack


I have written a small server with Ningle, which in turn is using Clack to start a web server such as Hunchentoot or Woo.

How can I handle HTTPS requests ?

I have of course obtained the needed certificates.


Solution

  • That was in fact quite simple.

    (clack:clackup <server> :ssl t :ssl-key-file <path to file> :ssl-cert-file <path to file>)


    Note: I understand from this issue that Woo does not yet support SSL, however at least Hunchentoot does.