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