You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My owncloud server is running in https only on a nginx server and I use server certificates from cacert, cacert root certificates are not included on my android device (and probably in any android). When I installed the owncloud app it was able to connect without problems to the server but I was only able to browse and read the files, any attempt to upload did stalled forever, in the server log I found lots of lines like those:
Today I installed CACert's root certificates on my android device and viola, everything works perfectly. I just wanted to let you know since I was not able to find a solution online, maybe others have a similar problem with a server using certificates not issued by a CA trusted by Android.
In theory, when you first access to a server holding a certificate signed by an untrusted CA, a dialog should warn you about it and give the chance of trust on the certificate anyway. After that, the operation of the app should go fine.
The logs you provide don't reveal any clear error. We couldn't reproduce any similar behaviour in our test environments.
Of course, installing the CA in your device as you did is a perfectly valid solution. The certificates store in the device is the first reference for the app regarding certificates. Just take into account that, by doing so, you are trusting in the CA not just for the ownCloud app, but for every app in the device. When the certificate is accepted in the dialog built-in the app, it is added to a trust store specific for the app.
Thanks for sharing your solution with the community, can be helpful. By the way, since we can't reproduce this and it's solved for you, we'll close the issue.
Activity
davivel commentedon Apr 24, 2014
In theory, when you first access to a server holding a certificate signed by an untrusted CA, a dialog should warn you about it and give the chance of trust on the certificate anyway. After that, the operation of the app should go fine.
The logs you provide don't reveal any clear error. We couldn't reproduce any similar behaviour in our test environments.
Of course, installing the CA in your device as you did is a perfectly valid solution. The certificates store in the device is the first reference for the app regarding certificates. Just take into account that, by doing so, you are trusting in the CA not just for the ownCloud app, but for every app in the device. When the certificate is accepted in the dialog built-in the app, it is added to a trust store specific for the app.
Thanks for sharing your solution with the community, can be helpful. By the way, since we can't reproduce this and it's solved for you, we'll close the issue.
Thanks again.
Merge pull request #464 from owncloud/FixLint