xref: /openssl/test/ssl-tests/21-key-update.cnf (revision 433deaff)
1# Generated with generate_ssl_tests.pl
2
3num_tests = 4
4
5test-0 = 0-update-key-client-update-not-requested
6test-1 = 1-update-key-server-update-not-requested
7test-2 = 2-update-key-client-update-requested
8test-3 = 3-update-key-server-update-requested
9# ===========================================================
10
11[0-update-key-client-update-not-requested]
12ssl_conf = 0-update-key-client-update-not-requested-ssl
13
14[0-update-key-client-update-not-requested-ssl]
15server = 0-update-key-client-update-not-requested-server
16client = 0-update-key-client-update-not-requested-client
17
18[0-update-key-client-update-not-requested-server]
19Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
20CipherString = DEFAULT
21PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
22
23[0-update-key-client-update-not-requested-client]
24CipherString = DEFAULT
25VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
26VerifyMode = Peer
27
28[test-0]
29ExpectedResult = Success
30HandshakeMode = KeyUpdateClient
31KeyUpdateType = KeyUpdateNotRequested
32ResumptionExpected = No
33
34
35# ===========================================================
36
37[1-update-key-server-update-not-requested]
38ssl_conf = 1-update-key-server-update-not-requested-ssl
39
40[1-update-key-server-update-not-requested-ssl]
41server = 1-update-key-server-update-not-requested-server
42client = 1-update-key-server-update-not-requested-client
43
44[1-update-key-server-update-not-requested-server]
45Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
46CipherString = DEFAULT
47PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
48
49[1-update-key-server-update-not-requested-client]
50CipherString = DEFAULT
51VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
52VerifyMode = Peer
53
54[test-1]
55ExpectedResult = Success
56HandshakeMode = KeyUpdateServer
57KeyUpdateType = KeyUpdateNotRequested
58ResumptionExpected = No
59
60
61# ===========================================================
62
63[2-update-key-client-update-requested]
64ssl_conf = 2-update-key-client-update-requested-ssl
65
66[2-update-key-client-update-requested-ssl]
67server = 2-update-key-client-update-requested-server
68client = 2-update-key-client-update-requested-client
69
70[2-update-key-client-update-requested-server]
71Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
72CipherString = DEFAULT
73PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
74
75[2-update-key-client-update-requested-client]
76CipherString = DEFAULT
77VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
78VerifyMode = Peer
79
80[test-2]
81ExpectedResult = Success
82HandshakeMode = KeyUpdateClient
83KeyUpdateType = KeyUpdateRequested
84ResumptionExpected = No
85
86
87# ===========================================================
88
89[3-update-key-server-update-requested]
90ssl_conf = 3-update-key-server-update-requested-ssl
91
92[3-update-key-server-update-requested-ssl]
93server = 3-update-key-server-update-requested-server
94client = 3-update-key-server-update-requested-client
95
96[3-update-key-server-update-requested-server]
97Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
98CipherString = DEFAULT
99PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
100
101[3-update-key-server-update-requested-client]
102CipherString = DEFAULT
103VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
104VerifyMode = Peer
105
106[test-3]
107ExpectedResult = Success
108HandshakeMode = KeyUpdateServer
109KeyUpdateType = KeyUpdateRequested
110ResumptionExpected = No
111
112
113