xref: /freebsd/crypto/openssl/test/ssl-tests/16-dtls-certstatus.cnf (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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:@SECLEVEL=0
19PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
20
21[0-certstatus-good-client]
22CipherString = DEFAULT:@SECLEVEL=0
23VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
24VerifyMode = Peer
25
26[test-0]
27ExpectedResult = Success
28Method = DTLS
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:@SECLEVEL=0
47PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
48
49[1-certstatus-bad-client]
50CipherString = DEFAULT:@SECLEVEL=0
51VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
52VerifyMode = Peer
53
54[test-1]
55ExpectedResult = ClientFail
56Method = DTLS
57server = 1-certstatus-bad-server-extra
58
59[1-certstatus-bad-server-extra]
60CertStatus = BadResponse
61
62
63