mirror of
https://github.com/traefik/traefik
synced 2026-02-05 23:00:50 +00:00
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"
|
||||
|
||||
Reference in New Issue
Block a user