mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 05:30:24 +03:00
move the certPool loader function into pkg/certs (#10239)
This commit is contained in:
+1
-1
@@ -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