When connceting to a webdav server through https if the remote server doesn't own a trusted certificate the connection fails with the following exception:
com.googlecode.sardine.util.SardineException
at com.googlecode.sardine.SardineImpl.executeWrapper(SardineImpl.java:552)
at com.googlecode.sardine.SardineImpl.getResources(SardineImpl.java:172)
at org.syncany.connection.plugins.webdav.WebdavTransferManager.list(WebdavTransferManager.java:132)
at org.syncany.connection.plugins.webdav.WebdavTransferManager.list(WebdavTransferManager.java:151)
at org.syncany.config.Repository.commit(Repository.java:201)
at org.syncany.config.Repository.commit(Repository.java:195)
at org.syncany.gui.wizard.RepositoryTestPanel$1.run(RepositoryTestPanel.java:57)
at java.lang.Thread.run(Thread.java:679)
Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:371)
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:399)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:143)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:108)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:554)
at com.googlecode.sardine.SardineImpl.executeWrapper(SardineImpl.java:547)
... 7 more
org.syncany.exceptions.StorageException: ...
at org.syncany.connection.plugins.webdav.WebdavTransferManager.list(WebdavTransferManager.java:143)
at org.syncany.connection.plugins.webdav.WebdavTransferManager.list(WebdavTransferManager.java:151)
at org.syncany.config.Repository.commit(Repository.java:201)
at org.syncany.config.Repository.commit(Repository.java:195)
at org.syncany.gui.wizard.RepositoryTestPanel$1.run(RepositoryTestPanel.java:57)
at java.lang.Thread.run(Thread.java:679)
The WebDAV plugin does not yet support SSL/TLS, so no wonder it doesnt work :-D
Thanks for reporting.