After all, it's not that hard... I had to change very few lines in ~zimbra/tomcat/webapps/zimbra/public/Login.jsp
Here's a diff - left=old, right=new:
Code:
112,113c112
< qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" +
< currentProto;
---
> qs = emptyQs? "?initMode=https": qs + "&initMode=https";
123c122
< qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + currentProto;
---
> qs = emptyQs? "?initMode=https": qs + "&initMode=https";
That does the trick for me. Basically, I just changed all occurrences of
initMode=" + currentProto
to
initMode=https"