aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/hostnames.vec
blob: 91296d2d88332231c71318cbcf2dc0d5a41dccb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Test vectors derived from from RFC 6125 and OpenSSL test suite
# https://github.com/openssl/openssl/blob/master/test/v3nametest.c

Issued = example
Hostname = example

Issued = example.com
Hostname = example.com

Issued = a.example.com
Hostname = a.example.com

Issued = test.www.example.com
Hostname = test.www.example.com

Issued = *.example.com
Hostname = foo.example.com

Issued = baz*.example.net
Hostname = baz1.example.net

Issued = baz*.example.net
Hostname = baz.example.net

Issued = *baz.example.net
Hostname = foobaz.example.net

Issued = *baz.example.net
Hostname = baz.example.net

Issued = b*z.example.net
Hostname = buzz.example.net

Issued = foo*bar.example.net
Hostname = foobar.example.net

Issued = *.www.example.com
Hostname = test.www.example.com

Issued = *www.example.com
Hostname = www.example.com

[Invalid]
Issued = example.com
Hostname = www.example.com

Issued = www.example.com
Hostname = example.com

Issued = bar.*.example.net
Hostname = bar.foo.example.net

Issued = *.example.com
Hostname = bar.foo.example.com

Issued = *.example.com
Hostname = example.com

Issued = foo*foo.example.com
Hostname = foo.example.com

Issued = **.example.com
Hostname = foo.example.com

Issued = *.*.example.com
Hostname = foo.bar.example.com