mirror of
https://github.com/sonertari/SSLproxy
synced 2024-11-18 03:25:31 +00:00
37 lines
769 B
JSON
37 lines
769 B
JSON
{
|
|
"comment": "Tests for VerifyPeer",
|
|
"configs": {
|
|
"1": {
|
|
"proto": {
|
|
"proto": "ssl"
|
|
},
|
|
"client": {
|
|
"ip": "127.0.0.1",
|
|
"port": "8455"
|
|
},
|
|
"server": {
|
|
"ip": "127.0.0.1",
|
|
"port": "9455",
|
|
"crt": "server.crt",
|
|
"key": "server.key"
|
|
}
|
|
}
|
|
},
|
|
"tests": {
|
|
"1": {
|
|
"comment": "Accepts peer without verification",
|
|
"states": {
|
|
"1": {
|
|
"testend": "client",
|
|
"cmd": "send",
|
|
"payload": "GET / HTTP/1.1\r\nHost: example.com\r\n\r\n"
|
|
},
|
|
"2": {
|
|
"testend": "server",
|
|
"cmd": "recv",
|
|
"payload": "GET / HTTP/1.1\r\nHost: example.com\r\nConnection: close\r\n\r\n"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |