fabienli / DokuwikiAndroid

Android application to access a dokuwiki
GNU General Public License v3.0
63 stars 6 forks source link

Java security Cert issue #9

Open LuWoody opened 4 years ago

LuWoody commented 4 years ago

Is there any problem with an self signed server https certificate? (CA Root Cert is imported, and the dokuwiki webpage is trusted in Chrome)

Error log message in the app:

Back one page in history

page test loaded from local db

page test not in local db, get it from server

XmlRpc call wiki.getPageHTML error: org.apache.xmlrpc.XmlRpcException: Failed to read server's response: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Frogging101 commented 4 years ago

I have the same issue.

fabienli commented 4 years ago

I'll need to try and reproduce this issue ... maybe a setup in the network libs I'm using

LuWoody commented 4 years ago

That would be great! I have the same error with an let's Encrypt certificate and https reverse proxy; maybe this information is helpful

Chewie9999 commented 3 years ago

I have the same error, even when using my own rootCA which is already installed on the phone and works in the browser. No error is shown on sync, but when re-opening the the app, it displays

Page was not found on your dokuwiki: either there's an error while connecting to the server, or the page doesn't exist.
If the page 'start' doesn't exist, do you want to create it?

together with a create button. Clicking on "Display online page" goes to the correct page (start) without errors.

fabienli commented 1 month ago

might be dupe with #106