WebDAV plugin - Not trusted server certificate

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

mhtcf
Junior Member
Junior Member
Posts: 16
Joined: 2007-01-21, 00:55 UTC
Location: Pennsylvania, USA

WebDAV plugin - Not trusted server certificate

Post by *mhtcf »

I'm getting "Not trusted server certificate" when I try to connect to my barracudadrive webdav server from android using plugin. Messages flashes quickly then returns to ///WebDAV screen. I can connect to this server from Total Commander windows version without issue.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Make sure you have the latest version of the plugin (install upates via "+" button on the home screen). Older versions didn't accept invalid certificates at all.

If you already have the latest plugin, make sure that the cert hasn't expired.
Author of Total Commander
https://www.ghisler.com
mhtcf
Junior Member
Junior Member
Posts: 16
Joined: 2007-01-21, 00:55 UTC
Location: Pennsylvania, USA

Post by *mhtcf »

That plugin was downloaded and loaded 8/5/2011. The name is tcandroidwebdav_b5.apk. In fact, the app itself and all 3 plugins were loaded (for the first time) on that date.
-Michael H
Personal license #2601
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, then it should definitely work - I added this already on June 10. I added this for a user who had the same problem.

Could you create a read only account for me on your server? I don't need to access any files, all I need is a way to connect, so I can see in the debugger what is going wrong. If yes, please send the login info to beta at ghisler dot com. Thanks!
Author of Total Commander
https://www.ghisler.com
mhtcf
Junior Member
Junior Member
Posts: 16
Joined: 2007-01-21, 00:55 UTC
Location: Pennsylvania, USA

Post by *mhtcf »

Sure, I'll create the account tonight and email you.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, problem solved by e-mail. The server certificate didn't report a correct server name.
Author of Total Commander
https://www.ghisler.com
azagoth
Junior Member
Junior Member
Posts: 2
Joined: 2011-09-04, 17:59 UTC

Post by *azagoth »

Not exactly the same issue, but I'm getting "No peer certificate" when I try to connect to my lightpd webdav server from android using plugin. It works perfectly fine with the windows version. Any suggestions ? thanks !
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It seems that you don't have any certificate installed at all on the server. You need to install at least a self-signed certificate.
Author of Total Commander
https://www.ghisler.com
azagoth
Junior Member
Junior Member
Posts: 2
Joined: 2011-09-04, 17:59 UTC

Post by *azagoth »

Actually, I do have a self signed one... The windows version of the plugin report an untrusted emitter, but it connects fine...
I can PM you the URL if you want to test it out.
thanks
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

That would be nice, please send me the URL to beta at ghisler dot com!

I don't need a user name or password because the certificate is checked before the actual login.
Author of Total Commander
https://www.ghisler.com
hb
Junior Member
Junior Member
Posts: 3
Joined: 2011-10-16, 17:40 UTC

Post by *hb »

Same problem here: "Not trusted server certificate" with beta 6 of the plugin. As far as I can tell the (self signed) certificate should be OK, at least access with the WindowsMobile-Version of TC worked. If needed I can mail the URL.

How about a allow-all-certificates-setting in the plugin? It would prevent this kind of Problems.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This works fine up to Android 2.2. Newer versions don't even let the certifcate through to Total Commander, they just abort the connection with "no peer certificate" error. I could not find any solution so far, even trusting all certificates doesn't work.
Author of Total Commander
https://www.ghisler.com
hb
Junior Member
Junior Member
Posts: 3
Joined: 2011-10-16, 17:40 UTC

Post by *hb »

Too bad. Seems I'm stuck with Mobile Webdav, despite it's ugly UI.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Where can I find that? Is it on the market?
Author of Total Commander
https://www.ghisler.com
hb
Junior Member
Junior Member
Posts: 3
Joined: 2011-10-16, 17:40 UTC

Post by *hb »

Yes, it is. "Mobile Webdav" by padersync, ATM I'm using the trial version.
Post Reply