GNOME Bugzilla – Bug 531364
Webdav sync not working when SSL cert is not accepted
Last modified: 2017-07-31 12:37:36 UTC
Please describe the problem: When trying to set the synchronisation service to webdav and the remote service is https with a self-signed or otherwise invalid cert, wdfs asks to accept the certificate, but Tomboy does not notice this. Instead, a time-out occurs in the UI, and the wdfs mounter is left running with full CPU. A checkbox to allow a user to ignore the cert warning would be great (wdfs -ac option) Steps to reproduce: 1. Select webdav sync service in preferences 2. Enter URL with https scheme and self-signed cert 3. Enter credentials 4. Press save Actual results: In UI: "Error connecting :( Timeout connecting to server" and wdfs hogging cpu in background with: " WARNING: untrusted server certificate for '*.domain.com': certificate is valid from Fri, 28 Dec 2007 07:27:51 GMT to Wed, 25 Jun 2008 07:27:51 GMT issued to: *.domain.com issued by: http://www.cacert.org, Root CA do you wish to accept this certificate? (y/n) " Expected results: Mount it :) Does this happen every time? Yup Other information:
Sounds like a good idea, thanks.
Can't do any UI changes for 0.12.x now, so this can't be entirely solved until the next cycle.
Dang, we're in UI freeze again. I'm going to add a hidden gconf preference for this, and we'll add a bit to the UI next cycle. Actually, I'm toying with making this the default...
Although it would make my live easier I would be reluctant to accept all certs by default, as a a cert should better be valid of course :) And self-signedness is only one of the things you can accept, domain mismatches are another.
Added hidden pref in r2347. Just enable this boolean key: /apps/tomboy/sync/wdfs/accept_sslcert Will talk about UI changes next cycle. Leaving bug open for this.
I found a quick hack for this issue. Simply add the '-ac' parameter after the URL. http://localhost/webdav/tomboy -ac No hidden keys needed to enable it.
still valid in 1.2.1, UI doesn't expose the gconf key.
The Tomboy team has moved from GNOME Bugzilla to GitHub for bug reports and feature requests: https://github.com/tomboy-notes/tomboy/issues/ Closing this report as NOTGNOME as part of Bugzilla Housekeeping (bug 781054) to keep tasks in one place. Please feel free to transfer this task to GitHub if this task is still valid in a recent Tomboy version. We are sorry for the inconvenience.