AIHIT Sync worker fix tls

This commit is contained in:
Mikhail Kuznetsov
2023-10-02 12:12:02 +10:00
parent 917c745b79
commit 86c94e3266
2 changed files with 5 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ namespace PARR.AIHIT.Services
}
catch (Exception ex)
{
logger.LogError(ex, $"Ошибка при выполнении ХП sp_IPP_PARR_PTK_get_EK");
logger.LogError(ex, $"Ошибка при выполнении ХП sp_IPP_PARR_PTK_get_EK({respArea})");
}
return null;

View File

@@ -22,6 +22,10 @@ RUN dotnet publish "PARR.AIHITWorker.csproj" -c Release -o /app/publish /p:UseAp
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
# Fixes an old version TLS (dvgd-sql-1-1)
RUN sed -i 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/g' /etc/ssl/openssl.cnf
ENTRYPOINT ["dotnet", "PARR.AIHITWorker.dll"]