Reusing http connections are buggy with versions before Android 4.1 (API Level 16)
applies only for poor server configuration.
Fetch certificate for https://www.infonecs.pf, go back and re-fetch it => CAdroid crashs
This issue will be solved by the provided commit / pull request.
I can reproduce the problem and see that
getCertificates()doesn't provide certificates. Why is that? Is this bug documented somewhere?
yes, that is a known bug in Android version below 4.1:
I found the problem when i tried to reproduce and fix issue https://github.com/bitfireAT/cadroid/issues/16.
It only occurs when the remote server is configured poorly - like for https://www.infonecs.pf/.
And how is it related to poorly configurated servers?
Those servers disabled keep-alive connections.