VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.2/test/ssl-tests/23-srp.cnf@ 101021

Last change on this file since 101021 was 101021, checked in by vboxsync, 15 months ago

openssl-3.1.2: Applied and adjusted our OpenSSL changes to 3.1.0. bugref:10519

File size: 3.1 KB
Line 
1# Generated with generate_ssl_tests.pl
2
3num_tests = 4
4
5test-0 = 0-srp
6test-1 = 1-srp-bad-password
7test-2 = 2-srp-auth
8test-3 = 3-srp-auth-bad-password
9# ===========================================================
10
11[0-srp]
12ssl_conf = 0-srp-ssl
13
14[0-srp-ssl]
15server = 0-srp-server
16client = 0-srp-client
17
18[0-srp-server]
19Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
20CipherString = SRP
21MaxProtocol = TLSv1.2
22PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
23
24[0-srp-client]
25CipherString = SRP
26MaxProtocol = TLSv1.2
27VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
28VerifyMode = Peer
29
30[test-0]
31ExpectedResult = Success
32server = 0-srp-server-extra
33client = 0-srp-client-extra
34
35[0-srp-server-extra]
36SRPPassword = password
37SRPUser = user
38
39[0-srp-client-extra]
40SRPPassword = password
41SRPUser = user
42
43
44# ===========================================================
45
46[1-srp-bad-password]
47ssl_conf = 1-srp-bad-password-ssl
48
49[1-srp-bad-password-ssl]
50server = 1-srp-bad-password-server
51client = 1-srp-bad-password-client
52
53[1-srp-bad-password-server]
54Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
55CipherString = SRP
56MaxProtocol = TLSv1.2
57PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
58
59[1-srp-bad-password-client]
60CipherString = SRP
61MaxProtocol = TLSv1.2
62VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
63VerifyMode = Peer
64
65[test-1]
66ExpectedResult = ServerFail
67server = 1-srp-bad-password-server-extra
68client = 1-srp-bad-password-client-extra
69
70[1-srp-bad-password-server-extra]
71SRPPassword = password
72SRPUser = user
73
74[1-srp-bad-password-client-extra]
75SRPPassword = passw0rd
76SRPUser = user
77
78
79# ===========================================================
80
81[2-srp-auth]
82ssl_conf = 2-srp-auth-ssl
83
84[2-srp-auth-ssl]
85server = 2-srp-auth-server
86client = 2-srp-auth-client
87
88[2-srp-auth-server]
89Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
90CipherString = aSRP
91MaxProtocol = TLSv1.2
92PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
93
94[2-srp-auth-client]
95CipherString = aSRP
96MaxProtocol = TLSv1.2
97VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
98VerifyMode = Peer
99
100[test-2]
101ExpectedResult = Success
102server = 2-srp-auth-server-extra
103client = 2-srp-auth-client-extra
104
105[2-srp-auth-server-extra]
106SRPPassword = password
107SRPUser = user
108
109[2-srp-auth-client-extra]
110SRPPassword = password
111SRPUser = user
112
113
114# ===========================================================
115
116[3-srp-auth-bad-password]
117ssl_conf = 3-srp-auth-bad-password-ssl
118
119[3-srp-auth-bad-password-ssl]
120server = 3-srp-auth-bad-password-server
121client = 3-srp-auth-bad-password-client
122
123[3-srp-auth-bad-password-server]
124Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
125CipherString = aSRP
126MaxProtocol = TLSv1.2
127PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
128
129[3-srp-auth-bad-password-client]
130CipherString = aSRP
131MaxProtocol = TLSv1.2
132VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
133VerifyMode = Peer
134
135[test-3]
136ExpectedResult = ServerFail
137server = 3-srp-auth-bad-password-server-extra
138client = 3-srp-auth-bad-password-client-extra
139
140[3-srp-auth-bad-password-server-extra]
141SRPPassword = password
142SRPUser = user
143
144[3-srp-auth-bad-password-client-extra]
145SRPPassword = passw0rd
146SRPUser = user
147
148
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette