I'm trying to import users and mailboxes from a ZCS 6.0.1 FOSS to ZCS 7.0.0 FOSS.

Importing users went ok, but when it came to importing the mailboxes it fails.
I figure it has something to do with the certificate, but what and how do I fix it? Can anyone point me in the right direction?

When I look in mailbox.log I find the following lines:

.
.
.
ExceptionId:Thread-184:1298408193238:16af3f115e71a164
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:248)
at com.zimbra.cs.datasource.imap.ConnectionManager.ne wConnection(ConnectionManager.java:168)
at com.zimbra.cs.datasource.imap.ConnectionManager.op enConnection(ConnectionManager.java:84)
at com.zimbra.cs.datasource.imap.ImapSync.connect(Ima pSync.java:111)
at com.zimbra.cs.datasource.imap.ImapSync.importData( ImapSync.java:160)
at com.zimbra.cs.datasource.imap.ImapSync.importData( ImapSync.java:134)
at com.zimbra.cs.datasource.DataSourceManager.importD ata(DataSourceManager.java:312)
at com.zimbra.cs.datasource.DataSourceManager.importD ata(DataSourceManager.java:276)
at com.zimbra.bp.BulkIMAPImportTaskManager$SingleIMAP IMportThread.run(BulkIMAPImportTaskManager.java:25 2)
Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException:..."CERTIF ICATE STUFF"
at com.sun.net.ssl.internal.ssl.Alerts.getSSLExceptio n(Alerts.java:174)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(S SLSocketImpl.java:1649)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Ha ndshaker.java:241)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Ha ndshaker.java:235)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serv erCertificate(ClientHandshaker.java:1206)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.proc essMessage(ClientHandshaker.java:136)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoo p(Handshaker.java:593)
at com.sun.net.ssl.internal.ssl.Handshaker.process_re cord(Handshaker.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRec ord(SSLSocketImpl.java:893)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.perform InitialHandshake(SSLSocketImpl.java:1138)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHa ndshake(SSLSocketImpl.java:1165)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHa ndshake(SSLSocketImpl.java:1149)
at com.zimbra.common.net.CustomSSLSocket.startHandsha ke(CustomSSLSocket.java:90)
at com.zimbra.cs.mailclient.MailConnection.startTls(M ailConnection.java:100)
at com.zimbra.cs.mailclient.MailConnection.connect(Ma ilConnection.java:84)
at com.zimbra.cs.datasource.imap.ConnectionManager.ne wConnection(ConnectionManager.java:146)
... 7 more
.
.
.