mirror of
https://github.com/minio/minio.git
synced 2025-11-20 09:56:07 -05:00
move the certPool loader function into pkg/certs (#10239)
This commit is contained in:
@@ -119,7 +119,7 @@ func serverHandleCmdArgs(ctx *cli.Context) {
|
||||
logger.FatalIf(err, "Unable to load the TLS configuration")
|
||||
|
||||
// Check and load Root CAs.
|
||||
globalRootCAs, err = config.GetRootCAs(globalCertsCADir.Get())
|
||||
globalRootCAs, err = certs.GetRootCAs(globalCertsCADir.Get())
|
||||
logger.FatalIf(err, "Failed to read root CAs (%v)", err)
|
||||
|
||||
// Register root CAs for remote ENVs
|
||||
|
||||
Reference in New Issue
Block a user