The form cannot be opened because either signature is corrupt or the certificate used to sign the form expired or revoked

You get the following message when you try to open an already submitted InfoPath form  – ‘The form cannot be opened because either signature is corrupt or the certificate used to sign the form expired or revoked’ when the certificate used to sign the form has expired or revoked. Even if you try to open the template you get similar message.

certificate used to sign the form expired or revoked


1. Get a new certificate from a certificate authority or you can use a self signed certificate (which will expire in 30 days).

2. Download the form template from SharePoint. It can be downloaded from form library or from Central Admin if the form is admin approved and deployed from central admin.

3. Right click and select Design. It opens the form template in InfoPath Designer

certificate used to sign the form expired or revoked


4. Click ‘OK‘ to remove the certificate and open the form.

5. Select ‘File‘ and File Options under ‘Advanced Form Options

Form Options

6. Select ‘Security and Trust‘ under Category in left panel. Admin approved forms should be ‘Fully Trusted’ and a certificate should be used to sign the form.certificate used to sign the form7. Select ‘Sign this form template‘ option. Select the certificate which we got in Step 1.

8. Select ‘OK‘ and Save. Publish the form.

9. Upload the form again in Central Admin.

10. Disable and Enable the site collection feature. Make sure that the form template in site collection form template library is updated.

11. When the form is opened again, you need to trust the certificate and it downloads it to users machine.

12. If you don’t see the updated form or certificate. Try Clearing the InfoPath cache in users machine. Refer to this post for Clearing InfoPath cache.

After completing all the steps, the Certificate used to sign the form is updated with a new cert and form is published.


Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Dynamic SQL Data connection to InfoPath

There is no possible out of the box way to setup a dynamic SQL data connection to InfoPath form. When we use SQL table as a secondary data source in InfoPath, there is no option to filter data in SQL before loading into InfoPath. Using InfoPath connection wizard, connection you setup is a plain select […]

Read More

Code Signing Certificate for Admin Approved InfoPath form template

Security level for admin approved code behind InfoPath form templates should be Fully trusted. Code Signing Certificate should be used to sign fully trusted InfoPath form templates before uploading to Central Admin. Go to File and Select ‘Form Options‘ under Advanced options Select ‘Security and Trust‘ in the left pane Code Signing Certificate: You can […]

Read More

Clearing Infopath Cache

When you publish new version of InfoPath or update certificate for the form, some users may still see the old version or have issues with new certificate. Clearing InfoPath Cache in users machine resolves this issue. When user access an InfoPath form, it is usually cached in users machine. Whenever there is a new version of […]

Read More