Page 1 of 1

Making ZM use HTTPS

Posted: Thu Aug 20, 2015 6:29 pm
by Zmjm15
Hi guys,

Just wondered if anyone knew how to implement HTTPS into the web interface?

Also, if you need to port forward 8080 as well?

Many thanks

Re: Making ZM use HTTPS

Posted: Thu Aug 20, 2015 6:46 pm
by knight-of-ni
Sure.
In the simplest case, all you have to do is install the ssl module for your web server and then point your web browser to https.

However, there are other things you may want to do:
- Generate your own certificate (Google for this)
- Add the SSLRequireSSL Apache directive to your site to prevent non-SSL access
- Use Apache RewriteRule to auto-redirect HTTP to HTTPS

And no you don't need to forward port 8080. Apache listens on Port 443 for HTTPS.

Re: Making ZM use HTTPS

Posted: Sun May 06, 2018 3:27 pm
by undert0wn
This took me a while to work out but THIS digitalocean walkthrough on SSL certs and redirection was exactly what I needed to point my http://FQDN to https://FQDN/zm (or http://IP to https://IP/zm if you don't have a LOCAL_DNS running).

Under the "Modify the Default Apache SSL Virtual Host File" section, the only change I made was:
ServerName server_domain_or_IP to ServerName server_domain_or_IP/zm

Hope this helps.