zmmailbox mailbox export fails with SSL error
Dear members,
I'm currently using a free version of ZCS 6.0.7 on which I want to export mailboxes to a tgz archive.
Unfortunately, that seems to fail because of an SSL error:
Code:
ERROR: zclient.IO_ERROR (Unable to get REST resource from http://zimbraserver.domain.tld/home/admin@zimbraserver.domain.tld/?fmt=tgz: Unrecognized SSL message, plaintext connection?) (cause: javax.net.ssl.SSLException Unrecognized SSL message, plaintext connection?)
(this also occurs to other zimbra mailboxes)
The connection uses a non-ssl connection (http), so the SSL error makes sense to me.
The command I use (as Zimbra user):
zmmailbox -z -m $mailbox -u https://zimbraserver.domain.tld/ getRestURL "//?fmt=tgz" > /mnt/zimbra_backup/mailbox_exports/$mailbox.tgz
($mailbox is a variable which contain's the zimbra user's e-mail address)
How can I switch to a SSL connection while performing an export? I've already tried the -u (with https://zimbraserver.domain.tld) option, but zmmailbox seems to ignore it (same error)...
Thanks in advance!