]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-nbd.c
qemu-nbd: add --tls-hostname option for TLS certificate validation
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 4 Mar 2022 19:36:02 +0000 (19:36 +0000)
committerEric Blake <eblake@redhat.com>
Mon, 7 Mar 2022 21:58:42 +0000 (15:58 -0600)
commit003b2b252112572cd8c92bffe5e532a53b28d1e4
tree8d9bc1136987c55c56df2476332812d3af67cf28
parenta0cd6d297283bedffafce939dce38f3d06f3e2cd
qemu-nbd: add --tls-hostname option for TLS certificate validation

When using the --list option, qemu-nbd acts as an NBD client rather
than a server. As such when using TLS, it has a need to validate
the server certificate. This adds a --tls-hostname option which can
be used to override the default hostname used for certificate
validation.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220304193610.3293146-5-berrange@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
docs/tools/qemu-nbd.rst
qemu-nbd.c