|
0 |
# Generated with generate_ssl_tests.pl
|
|
1 |
|
|
2 |
num_tests = 6
|
|
3 |
|
|
4 |
test-0 = 0-disable-encrypt-then-mac-server-sha
|
|
5 |
test-1 = 1-disable-encrypt-then-mac-client-sha
|
|
6 |
test-2 = 2-disable-encrypt-then-mac-both-sha
|
|
7 |
test-3 = 3-disable-encrypt-then-mac-server-sha2
|
|
8 |
test-4 = 4-disable-encrypt-then-mac-client-sha2
|
|
9 |
test-5 = 5-disable-encrypt-then-mac-both-sha2
|
|
10 |
# ===========================================================
|
|
11 |
|
|
12 |
[0-disable-encrypt-then-mac-server-sha]
|
|
13 |
ssl_conf = 0-disable-encrypt-then-mac-server-sha-ssl
|
|
14 |
|
|
15 |
[0-disable-encrypt-then-mac-server-sha-ssl]
|
|
16 |
server = 0-disable-encrypt-then-mac-server-sha-server
|
|
17 |
client = 0-disable-encrypt-then-mac-server-sha-client
|
|
18 |
|
|
19 |
[0-disable-encrypt-then-mac-server-sha-server]
|
|
20 |
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
21 |
CipherString = DEFAULT
|
|
22 |
Options = -EncryptThenMac
|
|
23 |
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
24 |
|
|
25 |
[0-disable-encrypt-then-mac-server-sha-client]
|
|
26 |
CipherString = AES128-SHA
|
|
27 |
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
28 |
VerifyMode = Peer
|
|
29 |
|
|
30 |
[test-0]
|
|
31 |
ExpectedResult = Success
|
|
32 |
|
|
33 |
|
|
34 |
# ===========================================================
|
|
35 |
|
|
36 |
[1-disable-encrypt-then-mac-client-sha]
|
|
37 |
ssl_conf = 1-disable-encrypt-then-mac-client-sha-ssl
|
|
38 |
|
|
39 |
[1-disable-encrypt-then-mac-client-sha-ssl]
|
|
40 |
server = 1-disable-encrypt-then-mac-client-sha-server
|
|
41 |
client = 1-disable-encrypt-then-mac-client-sha-client
|
|
42 |
|
|
43 |
[1-disable-encrypt-then-mac-client-sha-server]
|
|
44 |
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
45 |
CipherString = DEFAULT
|
|
46 |
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
47 |
|
|
48 |
[1-disable-encrypt-then-mac-client-sha-client]
|
|
49 |
CipherString = AES128-SHA
|
|
50 |
Options = -EncryptThenMac
|
|
51 |
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
52 |
VerifyMode = Peer
|
|
53 |
|
|
54 |
[test-1]
|
|
55 |
ExpectedResult = Success
|
|
56 |
|
|
57 |
|
|
58 |
# ===========================================================
|
|
59 |
|
|
60 |
[2-disable-encrypt-then-mac-both-sha]
|
|
61 |
ssl_conf = 2-disable-encrypt-then-mac-both-sha-ssl
|
|
62 |
|
|
63 |
[2-disable-encrypt-then-mac-both-sha-ssl]
|
|
64 |
server = 2-disable-encrypt-then-mac-both-sha-server
|
|
65 |
client = 2-disable-encrypt-then-mac-both-sha-client
|
|
66 |
|
|
67 |
[2-disable-encrypt-then-mac-both-sha-server]
|
|
68 |
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
69 |
CipherString = DEFAULT
|
|
70 |
Options = -EncryptThenMac
|
|
71 |
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
72 |
|
|
73 |
[2-disable-encrypt-then-mac-both-sha-client]
|
|
74 |
CipherString = AES128-SHA
|
|
75 |
Options = -EncryptThenMac
|
|
76 |
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
77 |
VerifyMode = Peer
|
|
78 |
|
|
79 |
[test-2]
|
|
80 |
ExpectedResult = Success
|
|
81 |
|
|
82 |
|
|
83 |
# ===========================================================
|
|
84 |
|
|
85 |
[3-disable-encrypt-then-mac-server-sha2]
|
|
86 |
ssl_conf = 3-disable-encrypt-then-mac-server-sha2-ssl
|
|
87 |
|
|
88 |
[3-disable-encrypt-then-mac-server-sha2-ssl]
|
|
89 |
server = 3-disable-encrypt-then-mac-server-sha2-server
|
|
90 |
client = 3-disable-encrypt-then-mac-server-sha2-client
|
|
91 |
|
|
92 |
[3-disable-encrypt-then-mac-server-sha2-server]
|
|
93 |
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
94 |
CipherString = DEFAULT
|
|
95 |
Options = -EncryptThenMac
|
|
96 |
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
97 |
|
|
98 |
[3-disable-encrypt-then-mac-server-sha2-client]
|
|
99 |
CipherString = AES128-SHA256
|
|
100 |
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
101 |
VerifyMode = Peer
|
|
102 |
|
|
103 |
[test-3]
|
|
104 |
ExpectedResult = Success
|
|
105 |
|
|
106 |
|
|
107 |
# ===========================================================
|
|
108 |
|
|
109 |
[4-disable-encrypt-then-mac-client-sha2]
|
|
110 |
ssl_conf = 4-disable-encrypt-then-mac-client-sha2-ssl
|
|
111 |
|
|
112 |
[4-disable-encrypt-then-mac-client-sha2-ssl]
|
|
113 |
server = 4-disable-encrypt-then-mac-client-sha2-server
|
|
114 |
client = 4-disable-encrypt-then-mac-client-sha2-client
|
|
115 |
|
|
116 |
[4-disable-encrypt-then-mac-client-sha2-server]
|
|
117 |
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
118 |
CipherString = DEFAULT
|
|
119 |
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
120 |
|
|
121 |
[4-disable-encrypt-then-mac-client-sha2-client]
|
|
122 |
CipherString = AES128-SHA256
|
|
123 |
Options = -EncryptThenMac
|
|
124 |
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
125 |
VerifyMode = Peer
|
|
126 |
|
|
127 |
[test-4]
|
|
128 |
ExpectedResult = Success
|
|
129 |
|
|
130 |
|
|
131 |
# ===========================================================
|
|
132 |
|
|
133 |
[5-disable-encrypt-then-mac-both-sha2]
|
|
134 |
ssl_conf = 5-disable-encrypt-then-mac-both-sha2-ssl
|
|
135 |
|
|
136 |
[5-disable-encrypt-then-mac-both-sha2-ssl]
|
|
137 |
server = 5-disable-encrypt-then-mac-both-sha2-server
|
|
138 |
client = 5-disable-encrypt-then-mac-both-sha2-client
|
|
139 |
|
|
140 |
[5-disable-encrypt-then-mac-both-sha2-server]
|
|
141 |
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
142 |
CipherString = DEFAULT
|
|
143 |
Options = -EncryptThenMac
|
|
144 |
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
145 |
|
|
146 |
[5-disable-encrypt-then-mac-both-sha2-client]
|
|
147 |
CipherString = AES128-SHA256
|
|
148 |
Options = -EncryptThenMac
|
|
149 |
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
150 |
VerifyMode = Peer
|
|
151 |
|
|
152 |
[test-5]
|
|
153 |
ExpectedResult = Success
|
|
154 |
|
|
155 |
|