CLI zmtlsctl to set Web Server Mode: Difference between revisions

No edit summary
mNo edit summary
Line 4: Line 4:
All modes use SSL encryption for back-end administrative traffic & the admin console.</font>
All modes use SSL encryption for back-end administrative traffic & the admin console.</font>


<font size="3" color="#000000" face="Arial"> Tomcat has to be stopped and restarted for the change to take effect. </font>
<font size="3" color="#000000" face="Arial"> The webserver has to be stopped and restarted for the change to take effect. Though a full zmcontrol stop/start certainly can't hurt. </font>


===<font size="3" color="#00007f" face="Arial"> ''' Syntax ''' </font>===
===<font size="3" color="#00007f" face="Arial"> ''' Syntax ''' </font>===
Line 39: Line 39:
| width="18.3264" |
| width="18.3264" |
<font size="2" color="#000000" face="Arial"> '''2. ''' </font>
<font size="2" color="#000000" face="Arial"> '''2. ''' </font>
| <font size="3" color="#000000" face=""Times New Roman""> '''  '''<font size="3" face="Arial">Type</font>''' tomcat stop <font size="3" face="Arial">, </font>'''<font size="3" face="Arial">press</font>''' <font size="3" color="#000000" face="Arial"> Enter. </font> ''' </font>
| <font size="3" color="#000000" face=""Times New Roman""> '''  '''<font size="3" face="Arial">Type</font>''' zmcontrol stop <font size="3" face="Arial">, </font>'''<font size="3" face="Arial">press</font>''' <font size="3" color="#000000" face="Arial"> Enter. </font> ''' </font>
|}
|}


Line 46: Line 46:
| width="18.3264" |
| width="18.3264" |
<font size="2" color="#000000" face="Arial"> '''3. ''' </font>
<font size="2" color="#000000" face="Arial"> '''3. ''' </font>
| <font size="3" color="#000000" face=""Times New Roman"">  <font size="3" face="Arial">When Tomcat stops, type</font>''' tomcat start <font size="3" face="Arial">, </font>'''<font size="3" face="Arial">press</font>''' <font size="3" color="#000000" face="Arial"> Enter. </font> ''' </font>
| <font size="3" color="#000000" face=""Times New Roman"">  <font size="3" face="Arial">stops, type</font>''' zmcontrol start <font size="3" face="Arial">, </font>'''<font size="3" face="Arial">press</font>''' <font size="3" color="#000000" face="Arial"> Enter. </font> ''' </font>
 
 
<font size="3" color="#000000" face="Arial">Note: In you can also use tomcat stop/start, but in v5 this becomes jetty.</font>

Revision as of 16:22, 5 September 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.

both - A user can go to http://zimbra.domain.com or https://zimbra.domain.com and will keep that mode for their entire session (few quirks with this mode when using a version prior to 4.5.2)

Introduced in v5:

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.


Note: In you can also use tomcat stop/start, but in v5 this becomes jetty.

Jump to: navigation, search