From 80f3f1b07126e86377e50bc030bc8ec36ee4c7f0 Mon Sep 17 00:00:00 2001 From: SagiKPJH1021 Date: Mon, 28 Oct 2024 21:29:07 +0900 Subject: [PATCH] =?UTF-8?q?chore=20:=20add=20ssl=20=EC=9D=B8=EC=A6=9D?= =?UTF-8?q?=EC=84=9C=20=EA=B2=80=EC=A6=9D=20=EB=B9=84=ED=99=9C=EC=84=B1?= =?UTF-8?q?=ED=99=94=20=EC=A3=BC=EC=84=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DockerGrpcClient/Program.cs" | 1 + 1 file changed, 1 insertion(+) diff --git "a/ImageHandlerService/\352\270\260\354\264\210 \352\265\254\355\230\204/DockerGrpcClient/Program.cs" "b/ImageHandlerService/\352\270\260\354\264\210 \352\265\254\355\230\204/DockerGrpcClient/Program.cs" index 1d9835a..b179d48 100644 --- "a/ImageHandlerService/\352\270\260\354\264\210 \352\265\254\355\230\204/DockerGrpcClient/Program.cs" +++ "b/ImageHandlerService/\352\270\260\354\264\210 \352\265\254\355\230\204/DockerGrpcClient/Program.cs" @@ -23,6 +23,7 @@ services.AddSingleton(provider => { + // SSL 인증서 검증을 비활성화 var httpClientHandler = new HttpClientHandler(); httpClientHandler.ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => true; var channel = GrpcChannel.ForAddress(serverUrl ?? "https://localhost:5050", new GrpcChannelOptions { HttpClient = new HttpClient(httpClientHandler) });