webdav https 如何强制挂载,不提示证书问题?


root@instance-hlak9yj0:~# mount -t davfs https://www.*******.top:1029/ssd2/work/baidu /mnt
/sbin/mount.davfs: the server certificate does not match the server name
/sbin/mount.davfs: the server certificate is not trusted

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] 

webdav https 如何强制挂载,不提示证书问题?否则无法自动挂载,每次手动挂载都要 按Y

  • 这篇博客: 将webdav挂载成为群晖的本地盘中的 遗留问题 部分也许能够解决你的问题, 你可以仔细阅读以下内容或跳转源博客中阅读:
    1. RcloneBrowserCloudDrive 一样,在复制的时候也会报错,看来基于容器的 fuse 映射在群晖的 FileStation 上是无解的

    1. 不支持密码和账号为空的 WebDAV 挂载,返回错误 /sbin/mount.davfs:/etc/davfs2/secrets:69: malformed line,但是因为问题 1 的缘故,老苏已经不想再继续下去

    2. 虽然没测坚果云,但老苏知道肯定不行,因为坚果云的 WebDAV 服务器不支持 Class 1,需要在 davfs2.conf 中改为 ignore_dav_header 1,老苏压根没做处理