policy/protocols/ssl/weak-keys.bro
-
SSL
Generate notices when SSL/TLS connections use certificates or DH parameters
that have potentially unsafe key lengths.
Detailed Interface
Options
-
SSL::notify_dh_length_shorter_cert_length
-
Warn if the DH key length is smaller than the certificate key length. This is
potentially unsafe because it gives a wrong impression of safety due to the
certificate key length. However, it is very common and cannot be avoided in some
settings (e.g. with old jave clients).
-
SSL::notify_minimal_key_length
-
The minimal key length in bits that is considered to be safe. Any shorter
(non-EC) key lengths will trigger the notice.
-
SSL::notify_weak_keys
-
The category of hosts you would like to be notified about which have
certificates that are going to be expiring soon. By default, these
notices will be suppressed by the notice framework for 1 day after a particular
certificate has had a notice generated. Choices are: LOCAL_HOSTS, REMOTE_HOSTS,
ALL_HOSTS, NO_HOSTS