Caldav and SSL
Does Firefox OS support SSL connections for caldav accounts? My calendar used to work fine on the ZTE (v1.1), but after I turned on SSL the calendar doesn't update anymore.
Additional System Details
- User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0
When I delete the calendar link and enter it again, I get the message: "Something went wrong. Try again later."
Modified by Michael
Hmm.. Could you reboot the phone and try entering it again?
I've done that about twenty times. No success, always the same message.
Hi Michael, ATM the app does not have open ssl, it does support NSS. The issue currently with OpenSSL is the Heartbleed bug affects the security of all calendars using the newer versions. Depending on the calendar service provider will depend on what version of OpenSSL is being used. However I have not tested the older version of ssl to see if it works in the app either.
I know this is inconvenient, but it keeps ya secure with the bug is affected.
I was also disappointed by this problem. After I added certificate exception in Firefox (browser), calendar app started to sync but this trick did not work for email.
I also tried to install CAcert root with the script mentioned here: https://support.mozilla.org/en-US/questions/968211
But the script does not work for me because I'm missing the root shell on ZTE OPEN C. And it looks like an overkill to root the phone, install Android SDK tools just to be able to add one root cert...
choco-banana, Yes, currently dynamic scripts cannot be executed in a webapp to create a cert db feature. However: It is possible to connect the device(ZTE C) by these steps(it will require the android sdk) but there are apps you can manage from the desktop as well:
- turn on Remote debugging in the developer settings under more info on your device
- connect the device to a desktop with a usb
- open up about:app-manager on the browser of the computer
- in the terminal run "adb forward tcp:6000 localfilesystem:/data/local/debugger-socket"
- then click on devices and connect to localhost:6000
- the adb helper is much easier however: https://developer.mozilla.org/en-US/F.../Using_the_App_Manager#Configuring_device
guigs2, isn't it a tool (App Manager) for installing apps on the device? I don't understand how it can help...
It is a tool for installing apps on a device, not a certificate. And this only works with a rooted device http://www.pending.io/add-cacert-root-certificate-to-firef... Currently it is not possible to do this.
This is a very annoying problem, and far from being fixed, it is getting worse. Until version 1.4, I could sync my caldav calendar with my owncloud server by creating a permanent exception on the phone's browser. Today I updated to FirefoxOS version 2.1 prerelease, and that just stopped working, my calendar no longer syncs with the phone.
Unfortunately it looks like the script @guigs2 pointed works only for root CA (and rooted phones) and doesn't work with self signed certs.
I believe this was also filed: bug 919807, but for the script above, the phone would have to be rooted.
This comment would clarify https://bugzilla.mozilla.org/show_bug.cgi?id=874346#c59 the functionality of the affect of certificates on the FIrefox OS device for Email app as well. However there are some open bugs about this that the developers are looking at. For tracking purposes I will add this thread to the bug.