xref: /freebsd/crypto/openssl/test/ssl-tests/23-srp.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-srp
6*e0c4386eSCy Schuberttest-1 = 1-srp-bad-password
7*e0c4386eSCy Schuberttest-2 = 2-srp-auth
8*e0c4386eSCy Schuberttest-3 = 3-srp-auth-bad-password
9*e0c4386eSCy Schubert# ===========================================================
10*e0c4386eSCy Schubert
11*e0c4386eSCy Schubert[0-srp]
12*e0c4386eSCy Schubertssl_conf = 0-srp-ssl
13*e0c4386eSCy Schubert
14*e0c4386eSCy Schubert[0-srp-ssl]
15*e0c4386eSCy Schubertserver = 0-srp-server
16*e0c4386eSCy Schubertclient = 0-srp-client
17*e0c4386eSCy Schubert
18*e0c4386eSCy Schubert[0-srp-server]
19*e0c4386eSCy SchubertCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
20*e0c4386eSCy SchubertCipherString = SRP
21*e0c4386eSCy SchubertMaxProtocol = TLSv1.2
22*e0c4386eSCy SchubertPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
23*e0c4386eSCy Schubert
24*e0c4386eSCy Schubert[0-srp-client]
25*e0c4386eSCy SchubertCipherString = SRP
26*e0c4386eSCy SchubertMaxProtocol = TLSv1.2
27*e0c4386eSCy SchubertVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
28*e0c4386eSCy SchubertVerifyMode = Peer
29*e0c4386eSCy Schubert
30*e0c4386eSCy Schubert[test-0]
31*e0c4386eSCy SchubertExpectedResult = Success
32*e0c4386eSCy Schubertserver = 0-srp-server-extra
33*e0c4386eSCy Schubertclient = 0-srp-client-extra
34*e0c4386eSCy Schubert
35*e0c4386eSCy Schubert[0-srp-server-extra]
36*e0c4386eSCy SchubertSRPPassword = password
37*e0c4386eSCy SchubertSRPUser = user
38*e0c4386eSCy Schubert
39*e0c4386eSCy Schubert[0-srp-client-extra]
40*e0c4386eSCy SchubertSRPPassword = password
41*e0c4386eSCy SchubertSRPUser = user
42*e0c4386eSCy Schubert
43*e0c4386eSCy Schubert
44*e0c4386eSCy Schubert# ===========================================================
45*e0c4386eSCy Schubert
46*e0c4386eSCy Schubert[1-srp-bad-password]
47*e0c4386eSCy Schubertssl_conf = 1-srp-bad-password-ssl
48*e0c4386eSCy Schubert
49*e0c4386eSCy Schubert[1-srp-bad-password-ssl]
50*e0c4386eSCy Schubertserver = 1-srp-bad-password-server
51*e0c4386eSCy Schubertclient = 1-srp-bad-password-client
52*e0c4386eSCy Schubert
53*e0c4386eSCy Schubert[1-srp-bad-password-server]
54*e0c4386eSCy SchubertCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
55*e0c4386eSCy SchubertCipherString = SRP
56*e0c4386eSCy SchubertMaxProtocol = TLSv1.2
57*e0c4386eSCy SchubertPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
58*e0c4386eSCy Schubert
59*e0c4386eSCy Schubert[1-srp-bad-password-client]
60*e0c4386eSCy SchubertCipherString = SRP
61*e0c4386eSCy SchubertMaxProtocol = TLSv1.2
62*e0c4386eSCy SchubertVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
63*e0c4386eSCy SchubertVerifyMode = Peer
64*e0c4386eSCy Schubert
65*e0c4386eSCy Schubert[test-1]
66*e0c4386eSCy SchubertExpectedResult = ServerFail
67*e0c4386eSCy Schubertserver = 1-srp-bad-password-server-extra
68*e0c4386eSCy Schubertclient = 1-srp-bad-password-client-extra
69*e0c4386eSCy Schubert
70*e0c4386eSCy Schubert[1-srp-bad-password-server-extra]
71*e0c4386eSCy SchubertSRPPassword = password
72*e0c4386eSCy SchubertSRPUser = user
73*e0c4386eSCy Schubert
74*e0c4386eSCy Schubert[1-srp-bad-password-client-extra]
75*e0c4386eSCy SchubertSRPPassword = passw0rd
76*e0c4386eSCy SchubertSRPUser = user
77*e0c4386eSCy Schubert
78*e0c4386eSCy Schubert
79*e0c4386eSCy Schubert# ===========================================================
80*e0c4386eSCy Schubert
81*e0c4386eSCy Schubert[2-srp-auth]
82*e0c4386eSCy Schubertssl_conf = 2-srp-auth-ssl
83*e0c4386eSCy Schubert
84*e0c4386eSCy Schubert[2-srp-auth-ssl]
85*e0c4386eSCy Schubertserver = 2-srp-auth-server
86*e0c4386eSCy Schubertclient = 2-srp-auth-client
87*e0c4386eSCy Schubert
88*e0c4386eSCy Schubert[2-srp-auth-server]
89*e0c4386eSCy SchubertCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
90*e0c4386eSCy SchubertCipherString = aSRP
91*e0c4386eSCy SchubertMaxProtocol = TLSv1.2
92*e0c4386eSCy SchubertPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
93*e0c4386eSCy Schubert
94*e0c4386eSCy Schubert[2-srp-auth-client]
95*e0c4386eSCy SchubertCipherString = aSRP
96*e0c4386eSCy SchubertMaxProtocol = TLSv1.2
97*e0c4386eSCy SchubertVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
98*e0c4386eSCy SchubertVerifyMode = Peer
99*e0c4386eSCy Schubert
100*e0c4386eSCy Schubert[test-2]
101*e0c4386eSCy SchubertExpectedResult = Success
102*e0c4386eSCy Schubertserver = 2-srp-auth-server-extra
103*e0c4386eSCy Schubertclient = 2-srp-auth-client-extra
104*e0c4386eSCy Schubert
105*e0c4386eSCy Schubert[2-srp-auth-server-extra]
106*e0c4386eSCy SchubertSRPPassword = password
107*e0c4386eSCy SchubertSRPUser = user
108*e0c4386eSCy Schubert
109*e0c4386eSCy Schubert[2-srp-auth-client-extra]
110*e0c4386eSCy SchubertSRPPassword = password
111*e0c4386eSCy SchubertSRPUser = user
112*e0c4386eSCy Schubert
113*e0c4386eSCy Schubert
114*e0c4386eSCy Schubert# ===========================================================
115*e0c4386eSCy Schubert
116*e0c4386eSCy Schubert[3-srp-auth-bad-password]
117*e0c4386eSCy Schubertssl_conf = 3-srp-auth-bad-password-ssl
118*e0c4386eSCy Schubert
119*e0c4386eSCy Schubert[3-srp-auth-bad-password-ssl]
120*e0c4386eSCy Schubertserver = 3-srp-auth-bad-password-server
121*e0c4386eSCy Schubertclient = 3-srp-auth-bad-password-client
122*e0c4386eSCy Schubert
123*e0c4386eSCy Schubert[3-srp-auth-bad-password-server]
124*e0c4386eSCy SchubertCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
125*e0c4386eSCy SchubertCipherString = aSRP
126*e0c4386eSCy SchubertMaxProtocol = TLSv1.2
127*e0c4386eSCy SchubertPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
128*e0c4386eSCy Schubert
129*e0c4386eSCy Schubert[3-srp-auth-bad-password-client]
130*e0c4386eSCy SchubertCipherString = aSRP
131*e0c4386eSCy SchubertMaxProtocol = TLSv1.2
132*e0c4386eSCy SchubertVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
133*e0c4386eSCy SchubertVerifyMode = Peer
134*e0c4386eSCy Schubert
135*e0c4386eSCy Schubert[test-3]
136*e0c4386eSCy SchubertExpectedResult = ServerFail
137*e0c4386eSCy Schubertserver = 3-srp-auth-bad-password-server-extra
138*e0c4386eSCy Schubertclient = 3-srp-auth-bad-password-client-extra
139*e0c4386eSCy Schubert
140*e0c4386eSCy Schubert[3-srp-auth-bad-password-server-extra]
141*e0c4386eSCy SchubertSRPPassword = password
142*e0c4386eSCy SchubertSRPUser = user
143*e0c4386eSCy Schubert
144*e0c4386eSCy Schubert[3-srp-auth-bad-password-client-extra]
145*e0c4386eSCy SchubertSRPPassword = passw0rd
146*e0c4386eSCy SchubertSRPUser = user
147*e0c4386eSCy Schubert
148*e0c4386eSCy Schubert
149