Check For Debian Weak Keys
What is a Debian Weak Key?
In 2006 a bug was introduced into Debian's openssl package. This bug resulted in very weak keys being generated for SSH, SSL Certificates, OpenVPN and other uses. The bug was not found and fixed until May 2008. Keys generated between those dates and later in unpatched Debian or Debian based systems should not be used.
How Can I Check For Debian Weak Keys?
Our Bulk SSL Checker or CSR and Certificate Decoder can help find certificates and CSRs that contain Debian weak keys. Try to decode some of the examples below with our decoder.
To check websites our SSL Certificate Checker or Bulk SSL Checker can help find deployed certificates that have weak keys. We also provide a certificate audit service that amongst many other things will help to locate certificates with Debian weak keys.
Examples of Debian Weak Key CSRs
Both the CertLogik CSR Decoder and Comodo CSR Decoder correctly reports the CSR below as containing a weak key.
-----BEGIN CERTIFICATE REQUEST-----
MIIBizCB9QIBADBMMQswCQYDVQQGEwJHQjESMBAGA1UECBMJQmVya3NoaXJlMRAw
DgYDVQQHEwdOZXdidXJ5MRcwFQYDVQQKEw5NeSBDb21wYW55IEx0ZDCBnzANBgkq
hkiG9w0BAQEFAAOBjQAwgYkCgYEA5fy56mgUe5YqxNxwzLdRricjfVwgc9pRGbYc
sV+uSgRRpGVImD8AD45avTw0wdICGDTAiBAxSQCZfsZfdp42YSuOy/LePj2sTKQk
azOpM9SmOf4E7OPWd94O9Jv809d7EzZh4yu+9tEDVgiDNhqZraHYl3nAwBCOw2lt
CkxUnwUCAwEAAaAAMA0GCSqGSIb3DQEBBQUAA4GBANYS454tPh2QD3bS911kS3/F
BqOzbWWuNnh5nxH/ObB2x841h2MujLpOmrjeudON7siRb3VCn/K/rRQ0Q0fbrZ5R
rjWY2bSwYAziRon/JgI7uKnfIjRGktrFwlQptCkFfbr42GmV3mWjaHRqk+udP39m
n8ukO4LSxo1REOW1vdGD
-----END CERTIFICATE REQUEST-----
Examples of Debian Weak Key Certificates
The CertLogik Certificate Decoder correctly reports the certificates below as containing weak keys.
-----BEGIN CERTIFICATE-----
MIIDzTCCArWgAwIBAgIJAJs7Mrs4MdflMA0GCSqGSIb3DQEBBQUA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