xref: /qemu/tests/qemu-iotests/233.out (revision b2322003)
1QA output created by 233
2
3== preparing TLS creds ==
4Generating a self signed certificate...
5Generating a self signed certificate...
6Generating a signed certificate...
7Generating a signed certificate...
8Generating a signed certificate...
9
10== preparing image ==
11Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
12wrote 1048576/1048576 bytes at offset 1048576
131 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
14
15== check TLS client to plain server fails ==
16qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': Denied by server for option 5 (starttls)
17server reported: TLS not configured
18
19== check plain client to TLS server fails ==
20qemu-img: Could not open 'nbd://localhost:PORT': TLS negotiation required before option 8 (structured reply)
21server reported: Option 0x8 not permitted before TLS
22
23== check TLS works ==
24image: nbd://127.0.0.1:PORT
25file format: nbd
26virtual size: 64M (67108864 bytes)
27disk size: unavailable
28
29== check TLS with different CA fails ==
30option negotiation failed: Verify failed: No certificate was found.
31qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': The certificate hasn't got a known issuer
32
33== perform I/O over TLS ==
34read 1048576/1048576 bytes at offset 1048576
351 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
36wrote 1048576/1048576 bytes at offset 1048576
371 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
38read 1048576/1048576 bytes at offset 1048576
391 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
40*** done
41