CentOS 7.x Zimbra enable automatic http to https redirect
From Notes_Wiki
<yambe:breadcrumb>CentOS_7.x_Zimbra_configuration|Zimbra configuration</yambe:breadcrumb>
CentOS 7.x Zimbra enable automatic http to https redirect
In latest Zimbra use of Zimbra-proxy is mandatory. Hence doing automatic redirect from http to https can be done using:
zmprov ms `zmhostname` zimbraReverseProxyMailMode redirect zmproxyctl restart
Older method described at Redirect Zimbra users from HTTP to HTTPS does not works any more and throws error:
Attempting to query proxy (mail.example.com) settings for zimbraReverseProxyMailMode and zimbraReverseProxySSLToUpstreamEnabled. On proxy (mail.example.com): zimbraReverseProxyMailMode='https', zimbraReverseProxySSLToUpstreamEnabled='TRUE' Error: When zimbraReverseProxyMailMode (on the proxy server) is https, the only valid settings for zimbraMailMode are both or https.
Refer: