MirakelX / mirakel-android

Easy task management for professionals
http://mirakel.azapps.de/
386 stars 117 forks source link

Mirakel doesn't accept root certificate chains for taskd sync #588

Open itadventurer opened 9 years ago

itadventurer commented 9 years ago

Original Reporter: jenserat Environment: Not Specified Version: 2.7.* Migrated From: https://mirakel.atlassian.net/browse/MIR-551

I try to sync Mirakel against a taskd 1.1 setup. I'm not using self-signed certificates, but Class 3 certificates issued by the community certification authority CAcert. They use an immediate certificate in-between:

Root (CAcert Class 1) -> Intermediate (CAcert Class 3) -> taskd certificate, user certificates

When trying to import the configuration file created following the user guide, I receive following error message: "Die Konfigurationsdatei ist fehlerhaft" (translated back to English something like "The configuration file is broken"), it seems that Mirakel doesn't accept certificate chains.

itadventurer commented 9 years ago

weiznich said: Fix is in gerrit: https://gerrit.azapps.de/r/1791

itadventurer commented 9 years ago

jenserat said: Config which does not work, without sensitive information.

itadventurer commented 9 years ago

jenserat said: Although I updated to 2.8, the problem still persists. Now taskd shows a message "Synchronisation abgeschlossen", "Schreibar hast Du eine fehlerhafte Konfigurationsdatei verwendet" (Schreibar should probably be Scheinbar?).

Debug logging in taskd does not show any connection attempt from Mirakel.

I attached an example configuration with the sensitive stuff removed.