Arc Forumnew | comments | leaders | submitlogin
Arc nu / https
3 points by idoh 3955 days ago | 1 comment
I like using Arc/Nu. One thing I haven't figured out how to do is set up the server to use https. I know I can use a front end proxy for that, but I'd prefer not to.

Does anyone know how to do it?



3 points by rocketnia 3955 days ago | link

To do this, I expect there must be some Arc code that handles the necessary encryption. That code probably doesn't exist in Arc.

Taking a brief look for SSL or TLS in Racket, I see http://docs.racket-lang.org/openssl/ .[1]

In particular, ports->ssl-ports looks like it might be a big help here. In fact, it has an option for TLS, so I guess this is the right place to look. :)

[1] I also see "Using HTTPS" at (http://docs.racket-lang.org/continue/#(part._.Using_.H.T.T.P...) but that's for Racket's own continuation-based server framework, not a library Arc can easily use.

-----