Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Bugzilla 758: embedded certificate check for less than 2048 bits
Browse files Browse the repository at this point in the history
Final phase prevents <2048-bit keys from MDX partners such as eduGAIN.
  • Loading branch information
iay committed Jan 1, 2014
1 parent 72e319f commit 4c39b77
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions mdx/common-beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -974,17 +974,26 @@
p:id="checkCertificates">
<property name="validators">
<list>
<!-- Error on RSA key length less than 1024 bits. -->
<!-- Error on RSA key length less than 2048 bits. -->
<bean parent="X509CertificateRSAKeyLengthValidator"
p:warningBoundary="0" p:errorBoundary="1024"/>
p:warningBoundary="0" p:errorBoundary="2048"/>
<!-- Error on small RSA public exponents. -->
<bean parent="X509CertificateRSAExponentValidator"/>
<!-- Debian weak key blacklists. -->
<ref bean="debian.1024"/>

<!--
Debian weak key blacklists.
Don't need to check for keys below our minimum key size.
-->
<ref bean="debian.2048"/>
<ref bean="debian.4096"/>
<!-- Compromised key blacklists. -->
<ref bean="compromised.1024"/>

<!--
Compromised key blacklists.
Again, don't need to check for keys below our minimum key size.
This currently means there are no compromised keys to check for.
-->
</list>
</property>
</bean>
Expand Down

0 comments on commit 4c39b77

Please sign in to comment.