Skip to main content

Regarding key blacklist entries - News / PrimeKey Announcements - PrimeKey Support

Mar 13 2020

Regarding key blacklist entries

Authors list

EJBCA comes with a feature called "Public Key Blacklist Validator". If used, this blacklist holds hashes of public keys for which a CA should not be allowed to issue certificates. The blacklist is empty by default and is filled with key hashes using a CLI command.


There was a bug in OpenSSL (CVE-2008-0166) [] where a vulnerable version of the library used only the PID as seed when generating RSA or DSA keys, allowing an attacker to find the private key from the corresponding public key without much effort.

This buggy version of OpenSSL was distributed in two Debian packages between 17th of September 2006 and 13th of May 2008.

The blacklist feature in EJBCA is commonly used to prevent issuance of certificates containing keys created with the buggy version of OpenSSL.

Incomplete Lists

PrimeKey has previously provided customers, as a courtesy, with a blacklist of weak keys as created by the Metasploit project.

It has been brought to our attention that the list from the Metasploit project was not complete. More complete blacklists were created by Debian maintainers, but those lists are not directly usable by the EJBCA blacklist feature. 


We have documented how to use instead an "External Command Certificate Validator" to verify a certificate against the Debian blacklists.

If mandated to check for weak Debian keys we recommend not to rely on the Metasploit blacklist, but instead:

- Update your blacklist database and verify that the database has all the entries you require


 - Use an "External Command Certificate Validator" to verify certificates against the Debian blacklists before issuance.

From our  documentation:  

Key Validators:

Post Processing Validators:

The external command certificate validator can be found in this section:

Contact us:

Global support number: +1 251 317 6984