Skip to content

Commit

Permalink
X.509 certificate check on imported entities: nothing shorter than 10…
Browse files Browse the repository at this point in the history
…24 bits.
  • Loading branch information
iay committed Nov 14, 2013
1 parent 8889173 commit b46dfdd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions mdx/common-beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,18 @@
<ref bean="removeEmptyExtensions"/>
<ref bean="checkSchemas"/>
<ref bean="CHECK_imported"/>

<bean parent="X509CertificateValidationStage"
p:id="checkCertificates">
<property name="validators">
<list>
<!-- Error on RSA key length less than 1024 bits. -->
<bean parent="X509CertificateRSAKeyLengthValidator"
p:warningBoundary="0" p:errorBoundary="1024"/>
</list>
</property>
</bean>

</list>
</property>
</bean>
Expand Down

0 comments on commit b46dfdd

Please sign in to comment.