bugdavfs2 - Bugs: bug #61435, Cannot mount webdav shares with...

 
 

bug #61435: Cannot mount webdav shares with self signed SSL certificates with no commonname

Submitter:  None
Submitted:  Sat 06 Nov 2021 05:55:56 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  alix82
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 20 Nov 2024 02:48:39 PM UTC, comment #1: 

Hi,

Unfortunately there is nothing I can do about this. The error comes from neon library, you can open a ticket there for them to add an option to ignore commonName, but I doubt they will accept such changes.

Alternatively, you can simply generate a certificate with a commonName and ask davfs to trust it

Ali Abdallah <alix82>
Group administrator
Sat 06 Nov 2021 05:55:56 AM UTC, original submission:  

When mounting a webdav share which has a self signed certificate with no "common name" attribute in the certificate, mounting fails with the following error message:
/sbin/mount.davfs: Mounting failed.
Server certificate was missing commonName attribute in subject name

I have also tried adding the certificate as a trusted certificate in pem format on the conf file using the line:
trust_server_cert       /etc/davfs2/certs/serve.pem

However, the error persists. The server is a local are network Nextcloud instance which doesn't have a common name.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by alix82 (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-11-20 alix82 StatusNone Invalid
        Open/ClosedOpen Closed
    2021-11-09 alix82 Assigned toNone alix82

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code