tests/qemu-iotests: validate NBD TLS with hostname mismatch
commit3da93d4bc6749d56349cd16340f07ca9825996ed
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 4 Mar 2022 19:36:08 +0000 (4 19:36 +0000)
committerEric Blake <eblake@redhat.com>
Mon, 7 Mar 2022 23:12:55 +0000 (7 17:12 -0600)
treef906608410dd7c4ea0180f623534c77e7057fb7e
parentebc0141ba7e5d594ef9ea0efbf841e2e90edea7c
tests/qemu-iotests: validate NBD TLS with hostname mismatch

This validates that connections to an NBD server where the certificate
hostname does not match will fail. It further validates that using the
new 'tls-hostname' override option can solve the failure.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220304193610.3293146-11-berrange@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
tests/qemu-iotests/233
tests/qemu-iotests/233.out
tests/qemu-iotests/common.tls