Page 1 of 1

WebDAV plugin not matching alternative cns in certificate

Posted: 2012-09-12, 15:20 UTC
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).

Posted: 2012-09-13, 13:21 UTC
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

Posted: 2012-09-13, 13:25 UTC
by ghisler(Author)
I can see only one CN name in the
Cert subject
field. Where are the other names?

Posted: 2012-09-13, 13:28 UTC
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.