summaryrefslogtreecommitdiffstats
path: root/test/ssl-tests/01-simple.conf
blob: 8c8067dae2840296ce25eed97ddc61d48fc21e66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Generated with generate_ssl_tests.pl

num_tests = 2

test-0 = 0-default
test-1 = 1-verify-cert
# ===========================================================

[0-default]
ssl_conf = 0-default-ssl

[0-default-ssl]
server = 0-default-server
client = 0-default-client

[0-default-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem


[0-default-client]
CipherString = DEFAULT
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer


[test-0]
ExpectedResult = Success


# ===========================================================

[1-verify-cert]
ssl_conf = 1-verify-cert-ssl

[1-verify-cert-ssl]
server = 1-verify-cert-server
client = 1-verify-cert-client

[1-verify-cert-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem


[1-verify-cert-client]
CipherString = DEFAULT
VerifyMode = Peer


[test-1]
ClientAlert = UnknownCA
ExpectedResult = ClientFail