Difference between revisions of "CentOS 7.x Zimbra enable automatic http to https redirect"

From Notes_Wiki
(Created page with "<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...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb>CentOS_7.x_Zimbra_configuration|Zimbra configuration</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x email configuration|Email configuration]] > [[CentOS 7.x Zimbra configuration|Zimbra configuration]] > [[CentOS 7.x Zimbra enable automatic http to https redirect]]
=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:
In latest Zimbra use of Zimbra-proxy is mandatory.  Hence doing automatic redirect from http to https can be done using:
Line 17: Line 16:
Refer:
Refer:
* https://wiki.zimbra.com/wiki/Enabling_Zimbra_Proxy_and_memcached#Protocol_Requirements_Including_HTTPS_Redirect
* https://wiki.zimbra.com/wiki/Enabling_Zimbra_Proxy_and_memcached#Protocol_Requirements_Including_HTTPS_Redirect
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x email configuration|Email configuration]] > [[CentOS 7.x Zimbra configuration|Zimbra configuration]] > [[CentOS 7.x Zimbra enable automatic http to https redirect]]

Latest revision as of 15:52, 28 August 2022

Home > CentOS > CentOS 7.x > Email configuration > Zimbra configuration > 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:


Home > CentOS > CentOS 7.x > Email configuration > Zimbra configuration > CentOS 7.x Zimbra enable automatic http to https redirect