Skip to content

Commit 372d838

Browse files
committed
Fix configuration of ticket parser. Pass server certificates file path
1 parent d4149ad commit 372d838

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1650,7 +1650,7 @@ void TSecurityServicesInitializer::InitializeServices(NActors::TActorSystemSetup
16501650
.AuthConfig = Config.GetAuthConfig(),
16511651
.CertificateAuthValues = {
16521652
.ClientCertificateAuthorization = Config.GetClientCertificateAuthorization(),
1653-
.ServerCertificateFilePath = grpcConfig.GetCert(),
1653+
.ServerCertificateFilePath = grpcConfig.HasPathToCertificateFile() ? grpcConfig.GetPathToCertificateFile() : grpcConfig.GetCert(),
16541654
.Domain = Config.GetAuthConfig().GetCertificateAuthenticationDomain()
16551655
}
16561656
};

0 commit comments

Comments
 (0)