Add TLS encryption capability to RPC clients (#2789)

This commit is contained in:
Anis Elleuch
2016-09-30 07:42:37 +01:00
committed by Harshavardhana
parent 1e6afac3bd
commit 9fb1c89f81
8 changed files with 51 additions and 11 deletions

View File

@@ -126,6 +126,7 @@ func lockControl(c *cli.Context) {
authCfg := &authConfig{
accessKey: serverConfig.GetCredential().AccessKeyID,
secretKey: serverConfig.GetCredential().SecretAccessKey,
secureConn: parsedURL.Scheme == "https",
address: parsedURL.Host,
path: path.Join(reservedBucket, controlPath),
loginMethod: "Controller.LoginHandler",