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