xref: /freebsd/crypto/openssl/test/ssl-tests/01-simple.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-default
6*e0c4386eSCy Schuberttest-1 = 1-Server signature algorithms bug
7*e0c4386eSCy Schuberttest-2 = 2-verify-cert
8*e0c4386eSCy Schuberttest-3 = 3-name-constraints-no-san-in-ee
9*e0c4386eSCy Schubert# ===========================================================
10*e0c4386eSCy Schubert
11*e0c4386eSCy Schubert[0-default]
12*e0c4386eSCy Schubertssl_conf = 0-default-ssl
13*e0c4386eSCy Schubert
14*e0c4386eSCy Schubert[0-default-ssl]
15*e0c4386eSCy Schubertserver = 0-default-server
16*e0c4386eSCy Schubertclient = 0-default-client
17*e0c4386eSCy Schubert
18*e0c4386eSCy Schubert[0-default-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-default-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 Schubert
31*e0c4386eSCy Schubert
32*e0c4386eSCy Schubert# ===========================================================
33*e0c4386eSCy Schubert
34*e0c4386eSCy Schubert[1-Server signature algorithms bug]
35*e0c4386eSCy Schubertssl_conf = 1-Server signature algorithms bug-ssl
36*e0c4386eSCy Schubert
37*e0c4386eSCy Schubert[1-Server signature algorithms bug-ssl]
38*e0c4386eSCy Schubertserver = 1-Server signature algorithms bug-server
39*e0c4386eSCy Schubertclient = 1-Server signature algorithms bug-client
40*e0c4386eSCy Schubert
41*e0c4386eSCy Schubert[1-Server signature algorithms bug-server]
42*e0c4386eSCy SchubertCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
43*e0c4386eSCy SchubertCipherString = DEFAULT
44*e0c4386eSCy SchubertClientSignatureAlgorithms = PSS+SHA512:RSA+SHA512
45*e0c4386eSCy SchubertPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
46*e0c4386eSCy Schubert
47*e0c4386eSCy Schubert[1-Server signature algorithms bug-client]
48*e0c4386eSCy SchubertCipherString = DEFAULT
49*e0c4386eSCy SchubertSignatureAlgorithms = PSS+SHA256:RSA+SHA256
50*e0c4386eSCy SchubertVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
51*e0c4386eSCy SchubertVerifyMode = Peer
52*e0c4386eSCy Schubert
53*e0c4386eSCy Schubert[test-1]
54*e0c4386eSCy SchubertExpectedResult = Success
55*e0c4386eSCy Schubert
56*e0c4386eSCy Schubert
57*e0c4386eSCy Schubert# ===========================================================
58*e0c4386eSCy Schubert
59*e0c4386eSCy Schubert[2-verify-cert]
60*e0c4386eSCy Schubertssl_conf = 2-verify-cert-ssl
61*e0c4386eSCy Schubert
62*e0c4386eSCy Schubert[2-verify-cert-ssl]
63*e0c4386eSCy Schubertserver = 2-verify-cert-server
64*e0c4386eSCy Schubertclient = 2-verify-cert-client
65*e0c4386eSCy Schubert
66*e0c4386eSCy Schubert[2-verify-cert-server]
67*e0c4386eSCy SchubertCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
68*e0c4386eSCy SchubertCipherString = DEFAULT
69*e0c4386eSCy SchubertPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
70*e0c4386eSCy Schubert
71*e0c4386eSCy Schubert[2-verify-cert-client]
72*e0c4386eSCy SchubertCipherString = DEFAULT
73*e0c4386eSCy SchubertVerifyMode = Peer
74*e0c4386eSCy Schubert
75*e0c4386eSCy Schubert[test-2]
76*e0c4386eSCy SchubertExpectedClientAlert = UnknownCA
77*e0c4386eSCy SchubertExpectedResult = ClientFail
78*e0c4386eSCy Schubert
79*e0c4386eSCy Schubert
80*e0c4386eSCy Schubert# ===========================================================
81*e0c4386eSCy Schubert
82*e0c4386eSCy Schubert[3-name-constraints-no-san-in-ee]
83*e0c4386eSCy Schubertssl_conf = 3-name-constraints-no-san-in-ee-ssl
84*e0c4386eSCy Schubert
85*e0c4386eSCy Schubert[3-name-constraints-no-san-in-ee-ssl]
86*e0c4386eSCy Schubertserver = 3-name-constraints-no-san-in-ee-server
87*e0c4386eSCy Schubertclient = 3-name-constraints-no-san-in-ee-client
88*e0c4386eSCy Schubert
89*e0c4386eSCy Schubert[3-name-constraints-no-san-in-ee-server]
90*e0c4386eSCy SchubertCertificate = ${ENV::TEST_CERTS_DIR}/goodcn2-chain.pem
91*e0c4386eSCy SchubertCipherString = DEFAULT
92*e0c4386eSCy SchubertPrivateKey = ${ENV::TEST_CERTS_DIR}/goodcn2-key.pem
93*e0c4386eSCy Schubert
94*e0c4386eSCy Schubert[3-name-constraints-no-san-in-ee-client]
95*e0c4386eSCy SchubertCipherString = DEFAULT
96*e0c4386eSCy SchubertVerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
97*e0c4386eSCy SchubertVerifyMode = Peer
98*e0c4386eSCy Schubert
99*e0c4386eSCy Schubert[test-3]
100*e0c4386eSCy SchubertExpectedResult = Success
101*e0c4386eSCy Schubert
102*e0c4386eSCy Schubert
103