Add client side TLS/SSL flags --ca-cert/--client-cert/--client-key

Fixes #2966
This commit is contained in:
Nick Craig-Wood
2019-02-11 13:09:32 +00:00
parent ec59760d9c
commit b167d30420
4 changed files with 83 additions and 13 deletions

View File

@@ -87,6 +87,9 @@ type ConfigInfo struct {
Progress bool
Cookie bool
UseMmap bool
CaCert string // Client Side CA
ClientCert string // Client Side Cert
ClientKey string // Client Side Key
}
// NewConfig creates a new config with everything set to the default