Skip to content

Commit

Permalink
it is 2023 and we still have to do this. lol, lmao even.
Browse files Browse the repository at this point in the history
  • Loading branch information
avafloww committed Nov 17, 2023
1 parent 3ec3a63 commit 5a47db8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Thaliak.Service.Poller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .

# absolutely incredible work SE, well done. "sekurity" :)
# https://github.com/dotnet/runtime/issues/30667
RUN sed -i "s|DEFAULT@SECLEVEL=2|DEFAULT@SECLEVEL=1|g" /etc/ssl/openssl.cnf
# certified Square Enix moment
COPY openssl.cnf /etc/ssl/openssl.cnf

ENTRYPOINT ["dotnet", "Thaliak.Service.Poller.dll"]
12 changes: 12 additions & 0 deletions Thaliak.Service.Poller/openssl.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# absolutely incredible work SE, well done. "sekurity" :)
# https://github.com/dotnet/runtime/issues/30667
#
[default_conf]
ssl_conf = ssl_sect

[ssl_sect]
system_default = system_default_sect

[system_default_sect]
MinProtocol = TLSv1.2
CipherString = DEFAULT@SECLEVEL=2

0 comments on commit 5a47db8

Please sign in to comment.