Add client certificate CA option to authenticate with client certs
Add the ability to authenticate against multiple client CA certificates. Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
This commit is contained in:
parent
d3bbb078c1
commit
c8f3800f1c
4 changed files with 71 additions and 1 deletions
|
@ -57,6 +57,10 @@ type Configuration struct {
|
|||
// contain the private portion for the file specified in
|
||||
// Certificate.
|
||||
Key string `yaml:"key,omitempty"`
|
||||
|
||||
// Specifies the CA certs for client authentication
|
||||
// A file may contain multiple CA certificates encoded as PEM
|
||||
ClientCAs []string `yaml:"clientcas,omitempty"`
|
||||
} `yaml:"tls,omitempty"`
|
||||
|
||||
// Debug configures the http debug interface, if specified. This can
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue