Skip to content

Commit

Permalink
Strip the first certificate from the chain since it's already in the …
Browse files Browse the repository at this point in the history
…end_entity column
  • Loading branch information
hellais committed Sep 10, 2024
1 parent f249afc commit 573321b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def measurement_to_tls_observation(
try:
tlso.certificate_chain_fingerprints = list(
map(lambda d: hashlib.sha256(d).hexdigest(), tlso.peer_certificates)
)
)[1:]
except Exception:
log.warning("failed to decode peer_certificates")

Expand Down

0 comments on commit 573321b

Please sign in to comment.