You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SSLproxy/tests/testproxy/ssl_testset_5.json

65 lines
1.3 KiB
JSON

{
"comment": "Tests for SSL configuration: Rejects unsupported SSL/TLS proto",
"configs": {
"1": {
"proto": {
"proto": "ssl",
"no_ssl2": "yes",
"no_ssl3": "yes",
"no_tls10": "yes",
"no_tls11": "yes",
"no_tls12": "no",
"no_tls13": "yes"
},
"client": {
"ip": "127.0.0.1",
"port": "8452"
},
"server": {
"ip": "127.0.0.1",
"port": "9452",
"crt": "server.crt",
"key": "server.key"
}
},
"2": {
"proto": {
"proto": "ssl",
"no_ssl2": "yes",
"no_ssl3": "yes",
"no_tls10": "no",
"no_tls11": "yes",
"no_tls12": "yes",
"no_tls13": "yes"
},
"client": {
"ip": "127.0.0.1",
"port": "8453"
},
"server": {
"ip": "127.0.0.1",
"port": "9453",
"crt": "server.crt",
"key": "server.key"
}
}
},
"tests": {
"1": {
"comment": "Rejects tls10 over tls12 and tls12 over tls10 proxyspecs",
"states": {
"1": {
"testend": "client",
"cmd": "sslconnectfail",
"payload": "GET / HTTP/1.1\r\nHost: example.com\r\n\r\n"
},
"2": {
"testend": "server",
"cmd": "timeout",
"payload": ""
}
}
}
}
}