Add ssl support to s3/web peers connections (#2988)

This commit is contained in:
Anis Elleuch
2016-10-18 19:46:33 +01:00
committed by Harshavardhana
parent 39331b6b4e
commit bbba8e432a
3 changed files with 8 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ func (s3p *s3Peers) InitS3PeerClient(peer string) {
accessKey: serverConfig.GetCredential().AccessKeyID,
secretKey: serverConfig.GetCredential().SecretAccessKey,
address: peer,
secureConn: isSSL(),
path: path.Join(reservedBucket, s3Path),
loginMethod: "S3.LoginHandler",
}