]> git.proxmox.com Git - mirror_qemu.git/blob - tests/qemu-iotests/233.out
5acbc13b54aee904fb6525c01742087ea7ea5680
[mirror_qemu.git] / tests / qemu-iotests / 233.out
1 QA output created by 233
2
3 == preparing TLS creds ==
4 Generating a self signed certificate...
5 Generating a self signed certificate...
6 Generating a signed certificate...
7 Generating a signed certificate...
8 Generating a signed certificate...
9 Generating a signed certificate...
10
11 == preparing image ==
12 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
13 wrote 1048576/1048576 bytes at offset 1048576
14 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
15
16 == check TLS client to plain server fails ==
17 qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': Denied by server for option 5 (starttls)
18 server reported: TLS not configured
19 qemu-nbd: Denied by server for option 5 (starttls)
20 server reported: TLS not configured
21
22 == check plain client to TLS server fails ==
23 qemu-img: Could not open 'nbd://localhost:PORT': TLS negotiation required before option 8 (structured reply)
24 server reported: Option 0x8 not permitted before TLS
25 qemu-nbd: TLS negotiation required before option 8 (structured reply)
26 server reported: Option 0x8 not permitted before TLS
27
28 == check TLS works ==
29 image: nbd://127.0.0.1:PORT
30 file format: nbd
31 virtual size: 64M (67108864 bytes)
32 disk size: unavailable
33 image: nbd://127.0.0.1:PORT
34 file format: nbd
35 virtual size: 64M (67108864 bytes)
36 disk size: unavailable
37 exports available: 1
38 export: ''
39 size: 67108864
40 flags: 0x4ed ( flush fua trim zeroes df cache )
41 min block: 512
42 opt block: 4096
43 max block: 33554432
44 available meta contexts: 1
45 base:allocation
46
47 == check TLS with different CA fails ==
48 qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': The certificate hasn't got a known issuer
49 qemu-nbd: The certificate hasn't got a known issuer
50
51 == perform I/O over TLS ==
52 read 1048576/1048576 bytes at offset 1048576
53 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
54 wrote 1048576/1048576 bytes at offset 1048576
55 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
56 read 1048576/1048576 bytes at offset 1048576
57 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
58
59 == check TLS with authorization ==
60 qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=10809,tls-creds=tls0': Failed to read option reply: Cannot read from TLS channel: Software caused connection abort
61 qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=10809,tls-creds=tls0': Failed to read option reply: Cannot read from TLS channel: Software caused connection abort
62
63 == final server log ==
64 qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
65 qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
66 qemu-nbd: option negotiation failed: TLS x509 authz check for CN=localhost,O=Cthulhu Dark Lord Enterprises client1,L=R'lyeh,C=South Pacific is denied
67 qemu-nbd: option negotiation failed: TLS x509 authz check for CN=localhost,O=Cthulhu Dark Lord Enterprises client3,L=R'lyeh,C=South Pacific is denied
68 *** done