mirror of
https://github.com/minio/minio.git
synced 2025-04-20 02:27:50 -04:00
Honor certs from config-dir (#6757)
This was a regression introduced in 9fe51e392be56b9543216222e154893e2bff3537
This commit is contained in:
parent
c96073f985
commit
3f19ea98bb
@ -218,6 +218,9 @@ func serverMain(ctx *cli.Context) {
|
|||||||
logger.EnableQuiet()
|
logger.EnableQuiet()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Handle all server command args.
|
||||||
|
serverHandleCmdArgs(ctx)
|
||||||
|
|
||||||
// Create certs path.
|
// Create certs path.
|
||||||
logger.FatalIf(createConfigDir(), "Unable to initialize configuration files")
|
logger.FatalIf(createConfigDir(), "Unable to initialize configuration files")
|
||||||
|
|
||||||
@ -230,9 +233,6 @@ func serverMain(ctx *cli.Context) {
|
|||||||
globalRootCAs, err = getRootCAs(getCADir())
|
globalRootCAs, err = getRootCAs(getCADir())
|
||||||
logger.FatalIf(err, "Failed to read root CAs (%v)", err)
|
logger.FatalIf(err, "Failed to read root CAs (%v)", err)
|
||||||
|
|
||||||
// Handle all server command args.
|
|
||||||
serverHandleCmdArgs(ctx)
|
|
||||||
|
|
||||||
// Handle all server environment vars.
|
// Handle all server environment vars.
|
||||||
serverHandleEnvVars()
|
serverHandleEnvVars()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user