Skip to content

Commit 5ccb818

Browse files
authored
Fix configuration of ticket parser. Pass server certificates file path (#7445)
1 parent 71f892e commit 5ccb818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/driver_lib/run/kikimr_services_initializers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1672,7 +1672,7 @@ void TSecurityServicesInitializer::InitializeServices(NActors::TActorSystemSetup
16721672
.AuthConfig = Config.GetAuthConfig(),
16731673
.CertificateAuthValues = {
16741674
.ClientCertificateAuthorization = Config.GetClientCertificateAuthorization(),
1675-
.ServerCertificateFilePath = grpcConfig.GetCert(),
1675+
.ServerCertificateFilePath = grpcConfig.HasPathToCertificateFile() ? grpcConfig.GetPathToCertificateFile() : grpcConfig.GetCert(),
16761676
.Domain = Config.GetAuthConfig().GetCertificateAuthenticationDomain()
16771677
}
16781678
};

0 commit comments

Comments
 (0)