From 41afa82ce8ad49df8a040d6336b08b24c5b0ef8a Mon Sep 17 00:00:00 2001 From: Jilks Smith Date: Mon, 26 Aug 2024 22:31:51 +0300 Subject: [PATCH] Fix grpc.go Signed-off-by: Jilks Smith --- internal/server/grpc/grpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/grpc/grpc.go b/internal/server/grpc/grpc.go index bf6a46748..a3ef4ff18 100644 --- a/internal/server/grpc/grpc.go +++ b/internal/server/grpc/grpc.go @@ -93,7 +93,7 @@ func (s *Server) Start() error { switch { case s.Config.AttestedTLS && (s.Config.ClientCAFile != "" || s.Config.ServerCAFile != ""): - certificateBytes, privateKeyBytes, err := generateCertificatesForATLS(s.agent) + certificateBytes, privateKeyBytes, err := generateCertificatesForATLS(s.quoteProvider) if err != nil { return fmt.Errorf("failed to create certificate: %w", err) }