mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
and re-enable caching of extracted certs
I kind of deleted the line by accident...
This commit is contained in:
parent
a5161783ef
commit
457ce10e99
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ event ssl_established(c: connection) &priority=5
|
||||||
# If we already extracted this cert, don't do it again.
|
# If we already extracted this cert, don't do it again.
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
add extracted_certs[c$ssl$cert_hash];
|
||||||
local filename = Site::is_local_addr(c$id$resp_h) ? "certs-local.pem" : "certs-remote.pem";
|
local filename = Site::is_local_addr(c$id$resp_h) ? "certs-local.pem" : "certs-remote.pem";
|
||||||
local outfile = open_for_append(filename);
|
local outfile = open_for_append(filename);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue