xref: /freebsd/crypto/openssl/test/ssl-tests/15-certstatus.cnf (revision a90b9d0159070121c221b966469c3e36d912bf82)
1# Generated with generate_ssl_tests.pl
2
3num_tests = 2
4
5test-0 = 0-certstatus-good
6test-1 = 1-certstatus-bad
7# ===========================================================
8
9[0-certstatus-good]
10ssl_conf = 0-certstatus-good-ssl
11
12[0-certstatus-good-ssl]
13server = 0-certstatus-good-server
14client = 0-certstatus-good-client
15
16[0-certstatus-good-server]
17Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
18CipherString = DEFAULT
19PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
20
21[0-certstatus-good-client]
22CipherString = DEFAULT
23VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
24VerifyMode = Peer
25
26[test-0]
27ExpectedResult = Success
28Method = TLS
29server = 0-certstatus-good-server-extra
30
31[0-certstatus-good-server-extra]
32CertStatus = GoodResponse
33
34
35# ===========================================================
36
37[1-certstatus-bad]
38ssl_conf = 1-certstatus-bad-ssl
39
40[1-certstatus-bad-ssl]
41server = 1-certstatus-bad-server
42client = 1-certstatus-bad-client
43
44[1-certstatus-bad-server]
45Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
46CipherString = DEFAULT
47PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
48
49[1-certstatus-bad-client]
50CipherString = DEFAULT
51VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
52VerifyMode = Peer
53
54[test-1]
55ExpectedResult = ClientFail
56Method = TLS
57server = 1-certstatus-bad-server-extra
58
59[1-certstatus-bad-server-extra]
60CertStatus = BadResponse
61
62
63