kopano-webapp and haproxy on pfsense
-
has anyone have any luck using kopano-kwebd.service behind pfsense using haproxy. I cant seem to make heads or tails on how to get this to work without ssl or at least with ssl enabled and self signed cert internally.
Thanks
-
Hi @vizonyc,
what have you tried so far? What errors are you getting? Which version of Kopano and kweb are you using?
-
I havn’t found sufficient documentation on kopano-kwebd yet, but I have kopano-webapp with apache as webserver behind an haproxy / opnsense with ssl/tls running. If it helps, I could post some configs about this setup.
-
@alexthetiger68 said in kopano-webapp and haproxy on pfsense:
If it helps, I could post some configs about this setup.
I’m sure someone would find that interesting so go ahead and create a dedicated topic for your configuration.
@alexthetiger68 said in kopano-webapp and haproxy on pfsense:
I havn’t found sufficient documentation on kopano-kwebd
That’s true. There is no specific configuration for kweb as of yet, simply because its meant to be a simple front facing proxy. Just provide the hostname, email address and it will retrieve a matching certificate for your from Lets Encrypt.
Without any further configuration of kweb it should create self signed certificate already for you, listening on port 9443 in that case. I would expect that you can just let your haproxy setup proxy to this port.
Alternatively you could also turn of ssl handling in kweb in general, this can be done at https://stash.kopano.io/projects/KGOL/repos/kweb/browse/scripts/kwebd.cfg#80