Mount webdav shares using davfs2

I am trying to install a SharePoint directory (located on a Windows server) on my Ubuntu machine using davfs2. I get a "Secure Connection Truncated" error message. The following is what I am doing and the conclusion (with some omissions):

$ sudo mount -t davfs 'https://<server_url>' /mnt/<mount_directory>/ Please enter the username to authenticate with server Username: <username> Please enter the password to authenticate user <username> with server Password: <password> /sbin/mount.davfs: the server certificate is not trusted issuer: <issuer> subject: <subject> identity: <identity> fingerprint: <fingerprint> You only should accept this certificate, if you can verify the fingerprint! The server might be faked or there might be a man-in-the-middle-attack. Accept certificate for this session? [y,N] y /sbin/mount.davfs: Mounting failed. Could not read status line: Secure connection truncated 

Has anyone understood what could cause this problem and how to solve it? Thank your help. Thanks.

+6
source share
2 answers

I needed to add the -o_netdev parameter to the mount command. This fixed the "Secure Connection Truncated" error for me, in most cases .; ^)

+2
source

Source: https://habr.com/ru/post/911664/


All Articles