feat: add configurable cipher suites for tls listening (#10505)

* feat: add configurable cipher suites for tls listening
* tls.VersionName is go 1.21, copy the function
This commit is contained in:
Steven Masley
2023-11-07 14:55:39 +00:00
committed by GitHub
parent e36503afd2
commit 64398def48
13 changed files with 478 additions and 33 deletions
+9
View File
@@ -9865,6 +9865,9 @@ const docTemplate = `{
"address": {
"$ref": "#/definitions/clibase.HostPort"
},
"allow_insecure_ciphers": {
"type": "boolean"
},
"cert_file": {
"type": "array",
"items": {
@@ -9897,6 +9900,12 @@ const docTemplate = `{
},
"redirect_http": {
"type": "boolean"
},
"supported_ciphers": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
+9
View File
@@ -8901,6 +8901,9 @@
"address": {
"$ref": "#/definitions/clibase.HostPort"
},
"allow_insecure_ciphers": {
"type": "boolean"
},
"cert_file": {
"type": "array",
"items": {
@@ -8933,6 +8936,12 @@
},
"redirect_http": {
"type": "boolean"
},
"supported_ciphers": {
"type": "array",
"items": {
"type": "string"
}
}
}
},