Skip to content

Commit

Permalink
ignoring expired certs
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicletz committed Nov 16, 2023
1 parent b3c62d9 commit f7abc4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/network/server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ defmodule Network.Server do
{:bad_cert, :selfsigned_peer} ->
{:valid, state}

{:bad_cert, :cert_expired} ->
{:valid, state}

other ->
Logger.warning("Check cert failed for #{inspect(other)}")
{:fail, event}
Expand Down

0 comments on commit f7abc4d

Please sign in to comment.