aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormregrock <mregrock@ydb.tech>2025-04-01 18:59:31 +0300
committerGitHub <noreply@github.com>2025-04-01 18:59:31 +0300
commit4cd260febd89c90e6bb0e98fa94e42ceedb8a095 (patch)
tree37e5a87bdeb0d01935325c6b3262bd93eed6c7e2
parent81a0068ec4e9a9879d92bcfadefbda26ce5d475f (diff)
downloadydb-4cd260febd89c90e6bb0e98fa94e42ceedb8a095.tar.gz
Fix bug with ssl (#16611)
-rw-r--r--ydb/public/lib/ydb_cli/commands/ydb_root_common.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ydb/public/lib/ydb_cli/commands/ydb_root_common.cpp b/ydb/public/lib/ydb_cli/commands/ydb_root_common.cpp
index 44284a8481..56886a9cfc 100644
--- a/ydb/public/lib/ydb_cli/commands/ydb_root_common.cpp
+++ b/ydb/public/lib/ydb_cli/commands/ydb_root_common.cpp
@@ -439,12 +439,13 @@ void TClientCommandRootCommon::ExtractParams(TConfig& config) {
}
}
+ config.EnableSsl = EnableSsl;
+
ParseCaCerts(config);
ParseClientCert(config);
ParseStaticCredentials(config);
config.Address = Address;
- config.EnableSsl = EnableSsl;
config.Database = Database;
config.ChosenAuthMethod = ParseResult->GetChosenAuthMethod();
}