2019-07-18 08:48:15 +00:00
|
|
|
{
|
|
|
|
"comment": "Tests for SSL configuration: tls10 only",
|
|
|
|
"configs": {
|
|
|
|
"1": {
|
|
|
|
"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": "8449"
|
|
|
|
},
|
|
|
|
"server": {
|
|
|
|
"ip": "127.0.0.1",
|
|
|
|
"port": "9449",
|
|
|
|
"crt": "server.crt",
|
|
|
|
"key": "server.key"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"2": {
|
|
|
|
"proto": {
|
|
|
|
"proto": "ssl",
|
|
|
|
"no_ssl2": "no",
|
|
|
|
"no_ssl3": "no",
|
|
|
|
"no_tls10": "no",
|
|
|
|
"no_tls11": "no",
|
|
|
|
"no_tls12": "no",
|
|
|
|
"no_tls13": "no"
|
|
|
|
},
|
|
|
|
"client": {
|
|
|
|
"ip": "127.0.0.1",
|
|
|
|
"port": "8449"
|
|
|
|
},
|
|
|
|
"server": {
|
|
|
|
"ip": "127.0.0.1",
|
|
|
|
"port": "9449",
|
|
|
|
"crt": "server.crt",
|
|
|
|
"key": "server.key"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tests": {
|
|
|
|
"1": {
|
|
|
|
"comment": "Configures tls10 only",
|
|
|
|
"states": {
|
|
|
|
"1": {
|
|
|
|
"testend": "client",
|
|
|
|
"cmd": "send",
|
|
|
|
"payload": "GET / HTTP/1.1\r\nHost: comixwall.org\r\n\r\n",
|
|
|
|
"assert": {
|
|
|
|
"current_cipher_version": {
|
|
|
|
"==": [
|
2020-04-04 16:11:18 +00:00
|
|
|
"SSLv3",
|
2020-04-05 18:52:02 +00:00
|
|
|
"TLSv1",
|
2019-07-18 08:48:15 +00:00
|
|
|
"TLSv1.0"
|
|
|
|
],
|
|
|
|
"!match": [
|
|
|
|
"^TLSv1\\.[1-3]?$"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ssl_proto_version": {
|
|
|
|
"==": [
|
2020-04-04 16:11:18 +00:00
|
|
|
"SSLv3",
|
2019-07-18 08:48:15 +00:00
|
|
|
"TLSv1"
|
|
|
|
],
|
|
|
|
"!match": [
|
|
|
|
"^TLSv1\\.[1-3]?$"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ssl_state": {
|
|
|
|
"==": [
|
|
|
|
"SSLOK "
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"2": {
|
|
|
|
"testend": "server",
|
|
|
|
"cmd": "recv",
|
|
|
|
"payload": "GET / HTTP/1.1\r\nHost: comixwall.org\r\nConnection: close\r\n\r\n",
|
|
|
|
"assert": {
|
|
|
|
"current_cipher_version": {
|
|
|
|
"==": [
|
2020-04-04 16:11:18 +00:00
|
|
|
"SSLv3",
|
2020-04-05 18:52:02 +00:00
|
|
|
"TLSv1",
|
2019-07-18 08:48:15 +00:00
|
|
|
"TLSv1.0"
|
|
|
|
],
|
|
|
|
"!match": [
|
|
|
|
"^TLSv1\\.[1-3]?$"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ssl_proto_version": {
|
|
|
|
"==": [
|
2020-04-04 16:11:18 +00:00
|
|
|
"SSLv3",
|
2019-07-18 08:48:15 +00:00
|
|
|
"TLSv1"
|
|
|
|
],
|
|
|
|
"!match": [
|
|
|
|
"^TLSv1\\.[1-3]?$"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ssl_state": {
|
|
|
|
"==": [
|
|
|
|
"SSLOK "
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|