Fix template for generate the certificates to PDF - refs #7322