B
B
bik2017-05-20 22:08:06
linux
bik, 2017-05-20 22:08:06

DEVFS2: how to mount client certificate drive in PFX format?

Good evening!
Maybe someone has already encountered a similar problem:
1. there is a client certificate in .PFX format, with which a network drive is mounted without problems under Windows
2. you need to connect the same network drive only under Debian.
Installed devfs2:
1. In the file /etc/davfs2/secrets I registered
/etc/davfs2/certs/private/GG.pfx PASSWORD
2. In the file /etc/devfs2/devfs2.conf everything is commented out.
Mount attempt:

[email protected]:/etc/davfs2/certs/private# mount.davfs https://192.168.12.7:1443/ /mnt/fxl
Please enter the username to authenticate with server
https://192.168.12.7:1443/ or hit enter for none.
  Username:
Please enter the password to authenticate user  with server
https://192.168.12.7:1443/ or hit enter for none.
  Password:
mount.davfs: the server certificate does not match the server name
mount.davfs: the server certificate is not trusted
  issuer:      ххххх GmbH & Co. KG, хххх GmbH & Co. KG, DE
  subject:     ххххх GmbH & Co. KG, хххх GmbH & Co. KG, DE
  identity:    ts-app.bp.local
  fingerprint: 1c:fa:7b:32:db:9d:a4:62:b8:6d:dc:ab:cf:86:e3:c5:66:e5:33:50
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
mount.davfs: Mounting failed.
400 Bad Request

What am I doing wrong?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question