mirror of
https://github.com/sonertari/SSLproxy
synced 2024-11-16 06:12:44 +00:00
ee41c72666
Add e2e tests for tls13 too
65 lines
1.3 KiB
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": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|