error:0A000152:SSL routines::unsafe legacy renegotiation disabled

Stevan
Stevan
312 Points
20 Posts

Getting following error during handshake to a third party api on dev server:

error:0A000152:SSL routines::unsafe legacy renegotiation disabled
Views: 2334
Total Answered: 1
Total Marked As Answer: 0
Posted On: 31-Jan-2023 03:33

Share:   fb twitter linkedin
Answers
Stevan
Stevan
312 Points
20 Posts
         

Resolved the issue by changing base image from alpine to Debian:

-FROM mcr.microsoft.com/dotnet/aspnet:6.0-alpine AS base
+FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base

And sdk:

-FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine AS build
+FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build

Issue reference links:

  • https://github.com/dotnet/dotnet-docker/issues/3976
  • https://github.com/dotnet/runtime/issues/73610
  • https://github.com/dotnet/runtime/pull/77772
Posted On: 02-Feb-2023 01:35
 Log In to Chat