]>
Commit | Line | Data |
---|---|---|
afcd1c2f DB |
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 | ||
10 | == preparing image == | |
11 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 | |
bb39c47d EB |
12 | wrote 1048576/1048576 bytes at offset 1048576 |
13 | 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
afcd1c2f DB |
14 | |
15 | == check TLS client to plain server fails == | |
16 | qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': Denied by server for option 5 (starttls) | |
17 | server reported: TLS not configured | |
ddd09448 EB |
18 | qemu-nbd: Denied by server for option 5 (starttls) |
19 | server reported: TLS not configured | |
afcd1c2f DB |
20 | |
21 | == check plain client to TLS server fails == | |
22 | qemu-img: Could not open 'nbd://localhost:PORT': TLS negotiation required before option 8 (structured reply) | |
23 | server reported: Option 0x8 not permitted before TLS | |
ddd09448 EB |
24 | qemu-nbd: TLS negotiation required before option 8 (structured reply) |
25 | server reported: Option 0x8 not permitted before TLS | |
afcd1c2f DB |
26 | |
27 | == check TLS works == | |
28 | image: nbd://127.0.0.1:PORT | |
29 | file format: nbd | |
30 | virtual size: 64M (67108864 bytes) | |
31 | disk size: unavailable | |
ddd09448 EB |
32 | exports available: 1 |
33 | export: '' | |
34 | size: 67108864 | |
35 | flags: 0x4ed ( flush fua trim zeroes df cache ) | |
36 | min block: 512 | |
37 | opt block: 4096 | |
38 | max block: 33554432 | |
39 | available meta contexts: 1 | |
40 | base:allocation | |
afcd1c2f DB |
41 | |
42 | == check TLS with different CA fails == | |
afcd1c2f | 43 | 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 |
ddd09448 | 44 | qemu-nbd: The certificate hasn't got a known issuer |
bb39c47d EB |
45 | |
46 | == perform I/O over TLS == | |
47 | read 1048576/1048576 bytes at offset 1048576 | |
48 | 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
49 | wrote 1048576/1048576 bytes at offset 1048576 | |
50 | 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
51 | read 1048576/1048576 bytes at offset 1048576 | |
52 | 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
d0898051 EB |
53 | |
54 | == final server log == | |
55 | qemu-nbd: option negotiation failed: Verify failed: No certificate was found. | |
ddd09448 | 56 | qemu-nbd: option negotiation failed: Verify failed: No certificate was found. |
afcd1c2f | 57 | *** done |