forked from Ivasoft/traefik
Expand Client Auth Type configuration
This commit is contained in:
committed by
Traefiker Bot
parent
7a4b4c941c
commit
2c7cfd1c68
@@ -47,6 +47,6 @@
|
||||
keyFile = "fixtures/https/snitest.org.key"
|
||||
|
||||
[tls.options]
|
||||
[tls.options.default.ClientCA]
|
||||
files = ["fixtures/https/clientca/ca1.crt"]
|
||||
optional = true
|
||||
[tls.options.default.clientAuth]
|
||||
caFiles = ["fixtures/https/clientca/ca1.crt"]
|
||||
clientAuthType = "VerifyClientCertIfGiven"
|
||||
|
||||
@@ -47,5 +47,5 @@
|
||||
keyFile = "fixtures/https/snitest.org.key"
|
||||
|
||||
[tls.options]
|
||||
[tls.options.default.clientCA]
|
||||
files = ["fixtures/https/clientca/ca1and2.crt"]
|
||||
[tls.options.default.clientAuth]
|
||||
caFiles = ["fixtures/https/clientca/ca1and2.crt"]
|
||||
@@ -46,6 +46,6 @@
|
||||
keyFile = "fixtures/https/snitest.org.key"
|
||||
|
||||
[tls.options]
|
||||
[tls.options.default.clientCA]
|
||||
files = ["fixtures/https/clientca/ca1.crt", "fixtures/https/clientca/ca2.crt"]
|
||||
optional = false
|
||||
[tls.options.default.clientAuth]
|
||||
caFiles = ["fixtures/https/clientca/ca1.crt", "fixtures/https/clientca/ca2.crt"]
|
||||
clientAuthType = "RequireAndVerifyClientCert"
|
||||
|
||||
@@ -69,13 +69,13 @@
|
||||
[tls.options]
|
||||
|
||||
[tls.options.foo]
|
||||
minversion = "VersionTLS11"
|
||||
minVersion = "VersionTLS11"
|
||||
|
||||
[tls.options.baz]
|
||||
minversion = "VersionTLS11"
|
||||
minVersion = "VersionTLS11"
|
||||
|
||||
[tls.options.bar]
|
||||
minversion = "VersionTLS12"
|
||||
minVersion = "VersionTLS12"
|
||||
|
||||
[tls.options.default]
|
||||
minversion = "VersionTLS12"
|
||||
minVersion = "VersionTLS12"
|
||||
|
||||
@@ -5,8 +5,8 @@ metadata:
|
||||
namespace: default
|
||||
|
||||
spec:
|
||||
minversion: VersionTLS12
|
||||
snistrict: true
|
||||
ciphersuites:
|
||||
minVersion: VersionTLS12
|
||||
sniStrict: true
|
||||
cipherSuites:
|
||||
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
|
||||
- TLS_RSA_WITH_AES_256_GCM_SHA384
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
[tls.options]
|
||||
|
||||
[tls.options.foo]
|
||||
minversion = "VersionTLS11"
|
||||
minVersion = "VersionTLS11"
|
||||
|
||||
[tls.options.bar]
|
||||
minversion = "VersionTLS12"
|
||||
minVersion = "VersionTLS12"
|
||||
|
||||
@@ -23,9 +23,9 @@
|
||||
## dynamic configuration ##
|
||||
|
||||
[tls.options]
|
||||
[tls.options.default.clientCA]
|
||||
files = [ """{{ .RootCertContent }}""" ]
|
||||
optional = false
|
||||
[tls.options.default.clientAuth]
|
||||
caFiles = [ """{{ .RootCertContent }}""" ]
|
||||
clientAuthType = "RequireAndVerifyClientCert"
|
||||
|
||||
[tls.stores]
|
||||
[tls.stores.default.defaultCertificate]
|
||||
|
||||
Reference in New Issue
Block a user