mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
Support etcd TLS certficates (#6719)
This PR supports two models for etcd certs - Client-to-server transport security with HTTPS - Client-to-server authentication with HTTPS client certificates
This commit is contained in:
committed by
kannappanr
parent
7e879a45d5
commit
9fe51e392b
@@ -203,6 +203,9 @@ func newS3(url string) (*miniogo.Core, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// Set custom transport
|
||||
clnt.SetCustomTransport(minio.NewCustomHTTPTransport())
|
||||
|
||||
probeBucketName := randString(60, rand.NewSource(time.Now().UnixNano()), "probe-bucket-sign-")
|
||||
// Check if the provided keys are valid.
|
||||
if _, err = clnt.BucketExists(probeBucketName); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user