WebDAV plugin not matching alternative cns in certificate

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
KBanause
Junior Member
Junior Member
Posts: 4
Joined: 2012-04-10, 08:37 UTC

WebDAV plugin not matching alternative cns in certificate

Post by *KBanause »

I have a ssl certificate which has multiple alternative common names.
The domain name of the server which hosts the webdav is one of those alternative domain names but unfortunately the webdav plugin seems to check only the main cn which is not the domain name of the server. Unfortunately I'm not allowed to add the logcat into this post (not as attachment or as text or as download link due to some spam protection).
KBanause
Junior Member
Junior Member
Posts: 4
Joined: 2012-04-10, 08:37 UTC

Post by *KBanause »

This is the logcat:

Code: Select all

D/TC:WebDAV(29833): open /www.xxx.no-tag.net
D/TC:WebDAV(29833): LIST /www.xxx.no-tag.net/dav/files/
D/TC:WebDAV(29833): Cert subject: CN=maincn.no-tag.net
D/TC:WebDAV(29833): Cert issuer: 1.2.840.113549.1.9.1=#1612737570706f7274406361636572742e6f7267,CN=CA Cert Signing Authority,OU=http://www.cacert.org,O=Root CA
D/DAV      (29892): Bad Request
D/TC:WebDAV(29833): Bad Request
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can see only one CN name in the
Cert subject
field. Where are the other names?
Author of Total Commander
https://www.ghisler.com
KBanause
Junior Member
Junior Member
Posts: 4
Joined: 2012-04-10, 08:37 UTC

Post by *KBanause »

they are in the certificate as alternative names. I don't know why the WebDAV plugin only show the main cn of the certificate.

BTW:
I get the same output when I create the .TotalCommander folder with the log.txt file.
Post Reply