Merge pull request #283 from sthulb/client-certs

registry, configuration, doc: client certificates for authentication purposes.
This commit is contained in:
Stephen Day 2015-03-31 16:45:03 -07:00
commit 5052dc692f
4 changed files with 71 additions and 1 deletions

View file

@ -73,6 +73,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