From f0549f8ba15166e9201c93efa0b5d14ec0c59b19 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 20 Apr 2016 11:46:31 +0200 Subject: [PATCH] document --disable-ssl and related stuff --- loolwsd/README | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/loolwsd/README b/loolwsd/README index da55063a0..6185f90e6 100644 --- a/loolwsd/README +++ b/loolwsd/README @@ -138,12 +138,15 @@ meant to be served is under a directory named 'loleaflet'. Since, the loleaflet files, in lool git repo, are itself in a directory named 'loleaflet', this would work out of the box for development purposes. -loolwsd only runs on HTTPS which means you would have to set up your -own private key and certificate (in PEM format only). Currently, -loolwsd assumes files with name cert.pem, and key.pem to be -certificate and private key respectively. Dummy self-signed cert.pem -and key.pem are already included, but it is better to replace those -with your own files. +If you run loolwsd on HTTPS, you have to set up your own private key +and certificates (in PEM format only). The name and location of key, +certificate and CA certificate chain is defined in +${sysconfdir}/loolwsd/loolwsd.xml. Dummy self-signed cert.pem, +ca-chain.cert.pem and key.pem are already included, but it is better +to replace those with your own files. HTTPS is the default. HTTP-only +mode can be enabled with --disable-ssl configure option. key.pem is +required even in HTTP-only mode, because it is used to generate the +secure token for the admin console. If you plan to hack on loolwsd, you probably want to familiarize yourself with loolwsd's --test and --numprespawns switches, and the @@ -161,7 +164,7 @@ scripting, etc. For instance: Admin Panel ----------- -You can access the admin panel by directly acessing the admin.html file from loleaflet directory. +You can access the admin panel by directly accessing the admin.html file from loleaflet directory. See loleaflet/README for more details. Debugging