TiddlyServer and SSL

48 views
Skip to first unread message

Calvino

unread,
Sep 4, 2020, 7:26:09 PM9/4/20
to TiddlyWiki
Hi,
Can anyone provide a document about how to bind Arlen's TiddlyServer with SSL cert files? I already have them for TiddlyWiki and it works okay ... I want to run TiddlyServer and use the same ones, but not sure how to reference them in the config file.

If possible I'd rather do that then try to figure out an SSL reverse proxy, which I've run into a little trouble with on Windows.

Thanks!

Arlen Beiler

unread,
Sep 5, 2020, 12:22:12 PM9/5/20
to TiddlyWiki
Set the https property to a Javascript file which exports a function named serverOptions. It is called for each listener instance started with one argument and is expected to return the HTTPS options object for HTTPS createServer

exports.serverOptions = function(address) { return { key: ..., cert: ... }; }


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5c5a796a-0b67-4f27-b70a-6b028ff6d1e1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages