2 WebDAVへアクセスする

davfsのマウントを可能にするdavfs2パッケージをインストールします。

$ sudo dnf install -y davfs2

mount -t davfsでマウントします。証明書を組み込んでいないので警告がでます。

$ sudo mount -t davfs https://localhost/webdav /mnt
Please enter the username to authenticate with server
https://localhost/webdav or hit enter for none.
Username: webdav
Please enter the password to authenticate user webdav with server
https://localhost/webdav or hit enter for none.
Password:
/sbin/mount.davfs: the server certificate does not match the server name
/sbin/mount.davfs: the server certificate is not trusted
issuer: SomeOrganizationalUnit, SomeOrganization, SomeCity, SomeState, --
subject: SomeOrganizationalUnit, SomeOrganization, SomeCity, SomeState, --
identity: fedora-25
fingerprint: 15:73:eb:cb:97:4b:d1:ae:8b:6a:ca:e8:0a:83:c2:f4:11:e1:45:74
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