qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH 6/6] tests: exercise NBD server in TLS mode


From: Eric Blake
Subject: Re: [Qemu-block] [PATCH 6/6] tests: exercise NBD server in TLS mode
Date: Tue, 20 Nov 2018 11:45:54 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

On 11/20/18 11:27 AM, Kevin Wolf wrote:
Am 16.11.2018 um 16:53 hat Daniel P. Berrangé geschrieben:
Add tests that validate it is possible to connect to an NBD server
running TLS mode. Also test mis-matched TLS vs non-TLS connections
correctly fail.

+echo
+echo "== preparing TLS creds =="
+
+tls_x509_create_root_ca "ca1"
+tls_x509_create_root_ca "ca2"
+tls_x509_create_server "ca1" "server1"
+tls_x509_create_client "ca1" "client1"
+tls_x509_create_client "ca2" "client2"

Looks like we can't blindly assume that certtool exists. This test case
fails for me, starting with the following diff:

Looks like we'll need a followup patch to skip the test if certtool is not found. (I already did the same in common.nbd if 'ss' was not found; so it should be easy to copy...)

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]