mirror of
https://github.com/sonertari/SSLproxy
synced 2024-10-31 21:20:21 +00:00
37 lines
715 B
JSON
37 lines
715 B
JSON
{
|
|
"comment": "Tests for VerifyPeer",
|
|
"configs": {
|
|
"1": {
|
|
"proto": {
|
|
"proto": "ssl"
|
|
},
|
|
"client": {
|
|
"ip": "127.0.0.1",
|
|
"port": "8456"
|
|
},
|
|
"server": {
|
|
"ip": "127.0.0.1",
|
|
"port": "9456",
|
|
"crt": "server.crt",
|
|
"key": "server.key"
|
|
}
|
|
}
|
|
},
|
|
"tests": {
|
|
"1": {
|
|
"comment": "Rejects peer with verification",
|
|
"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": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |