53 lines
1 KiB
Text
53 lines
1 KiB
Text
|
# 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
|
||
|
|
||
|
|