Expand Client Auth Type configuration
This commit is contained in:
parent
7a4b4c941c
commit
2c7cfd1c68
31 changed files with 304 additions and 151 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue