CLI zmtlsctl to set Web Server Mode: Difference between revisions

mNo edit summary
mNo edit summary
Line 19: Line 19:


'''both''' - A user can go to http:// or https:// and will ''keep that mode'' for their entire session
'''both''' - A user can go to http:// or https:// and will ''keep that mode'' for their entire session
Few quirks with 'both' mode:
Few quirks with 'both' mode:


-on older versions there was some problems,  
-on older versions there was some problems,  
-seems to have worked fine from 4.5.2 to 4.5.5? but then more problems appeared http://bugzilla.zimbra.com/show_bug.cgi?id=19636
-seems to have worked fine from 4.5.2 to 4.5.5? but then more problems appeared http://bugzilla.zimbra.com/show_bug.cgi?id=19636
-so now when 'both' is selected, it defaults to 'mixed'
http://bugzilla.zimbra.com/show_bug.cgi?id=5594


-so now when 'both' is selected, it defaults to 'mixed' http://bugzilla.zimbra.com/show_bug.cgi?id=5594


(so please test your functionality afterwards if you have attempted 'both' mode)
(so please test your functionality afterwards if you have attempted 'both' mode)

Revision as of 16:17, 22 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 would browse to https://zimbra.domain.com They may or may not get a 302 redirect if they visit http://

mixed - If the user goes to http:// it will redirect to https:// for the login only, then will revert to http:// for normal session traffic. If they browse to https:// then they will stay https://

both - A user can go to http:// or https:// and will keep that mode for their entire session

Few quirks with 'both' mode:

-on older versions there was some problems,

-seems to have worked fine from 4.5.2 to 4.5.5? but then more problems appeared http://bugzilla.zimbra.com/show_bug.cgi?id=19636

-so now when 'both' is selected, it defaults to 'mixed' http://bugzilla.zimbra.com/show_bug.cgi?id=5594

(so please test your functionality afterwards if you have attempted 'both' mode)

Beginning with ZCS 5.0:

redirect - like mixed, if the user goes to http:// 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.

after everything stops, type zmcontrol start , press Enter.


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


Also: Immediately check http://wiki.zimbra.com/index.php?title=SMTP_Auth_Problems to be sure everything's set correctly.

Jump to: navigation, search