CLI zmtlsctl to set Web Server Mode: Difference between revisions
(Adding category) |
m (corrected description of both) |
||
Line 18: | Line 18: | ||
'''mixed''' - If the user goes to http://zimbra.domain.com it will redirect to HTTPS for the login only, then will revert to HTTP for normal session traffic. If they browse to https://zimbra.domain.com then they will stay HTTPS. | '''mixed''' - If the user goes to http://zimbra.domain.com it will redirect to HTTPS for the login only, then will revert to HTTP for normal session traffic. If they browse to https://zimbra.domain.com then they will stay HTTPS. | ||
'''both''' | Note: When '''both''' is selected, it defaults to '''mixed''' . | ||
Beginning with ZCS 5.0 | |||
'''redirect''' - like mixed, if the user goes to http://zimbra.domain.com it will redirect to HTTPS, but they will stay HTTPS for their entire session. | '''redirect''' - like mixed, if the user goes to http://zimbra.domain.com it will redirect to HTTPS, but they will stay HTTPS for their entire session. |
Revision as of 21:18, 19 October 2007
zmtlsctl
This command is used to set the Web server zimbraMailMode to the different communication protocol options. All modes use SSL encryption for back-end administrative traffic & the admin console.
The webserver has to be stopped and restarted for the change to take effect. Though a full zmcontrol stop/start certainly can't hurt.
Syntax
zmtlsctl [mode]
mode choices:
http - http only, the user would browse to http://zimbra.domain.com
https - https only, the user woudl browse to https://zimbra.domain.com They may or may not get a 302 redirect if they visit http://zimbra.domain.com
mixed - If the user goes to http://zimbra.domain.com it will redirect to HTTPS for the login only, then will revert to HTTP for normal session traffic. If they browse to https://zimbra.domain.com then they will stay HTTPS.
Note: When both is selected, it defaults to mixed .
Beginning with ZCS 5.0
redirect - like mixed, if the user goes to http://zimbra.domain.com it will redirect to HTTPS, but they will stay HTTPS for their entire session.
Steps to run
1. |
Type zmtlsctl [mode] , press Enter. |
2. |
Type zmcontrol stop , press Enter. |
3. |
stops, type zmcontrol start , press Enter.
|