Component p: fileUpload is not limiting the files contained in allowTypes. Has anyone ever had this kind of problem?
<p:fileUpload id="certificado" mode="simple" dragDropSupport="false" multiple="false" update="msgValidacao" sizeLimit="10000" fileLimit="1" allowTypes="/(\.|\/)(pfx|p12)$/" skinSimple="true" value="#{companyBean.fileCertificate}" />