]> git.saurik.com Git - apple/security.git/blob - SecurityTests/clxutils/certcrl/testSubjects/hostNameDot/hostNameDot.scr
Security-57031.1.35.tar.gz
[apple/security.git] / SecurityTests / clxutils / certcrl / testSubjects / hostNameDot / hostNameDot.scr
1 #
2 # test fix for Radar 3996792: handling of host name with trailing dot ("www.apple.com.")
3 #
4 globals
5 allowUnverified = true
6 crlNetFetchEnable = false
7 certNetFetchEnable = false
8 useSystemAnchors = false
9 end
10
11 ##
12 ## common name testing
13 ##
14
15 test = "CommonName in leaf, no dot, no dot in app-specified hostname"
16 cert = hostNameDotCommonName.cer
17 root = hostNameDotRoot.cer
18 sslHost = www.dmitch
19 end
20
21 test = "CommonName in leaf, no dot, WITH dot in app-specified hostname"
22 cert = hostNameDotCommonName.cer
23 root = hostNameDotRoot.cer
24 sslHost = www.dmitch.
25 end
26
27 test = "CommonName in leaf, WITH dot, no dot in app-specified hostname"
28 cert = hostNameDotCommonNameDot.cer
29 root = hostNameDotRoot.cer
30 sslHost = www.dmitch
31 end
32
33 test = "CommonName in leaf, WITH dot, WITH dot in app-specified hostname"
34 cert = hostNameDotCommonNameDot.cer
35 root = hostNameDotRoot.cer
36 sslHost = www.dmitch.
37 end
38
39 ##
40 ## SubjectAltName testing
41 ##
42
43 test = "SubjectAltName in leaf, no dot, no dot in app-specified hostname"
44 cert = hostNameDotSubjAltName.cer
45 root = hostNameDotRoot.cer
46 sslHost = www.dmitch
47 end
48
49 test = "SubjectAltName in leaf, no dot, WITH dot in app-specified hostname"
50 cert = hostNameDotSubjAltName.cer
51 root = hostNameDotRoot.cer
52 sslHost = www.dmitch.
53 end
54
55 test = "SubjectAltName in leaf, WITH dot, no dot in app-specified hostname"
56 cert = hostNameDotSubjAltNameDot.cer
57 root = hostNameDotRoot.cer
58 sslHost = www.dmitch
59 end
60
61 test = "SubjectAltName in leaf, WITH dot, WITH dot in app-specified hostname"
62 cert = hostNameDotSubjAltNameDot.cer
63 root = hostNameDotRoot.cer
64 sslHost = www.dmitch.
65 end