How to Publish a Self-Signed InfoPath Form Template to Local Computer
Author: Ashish Ghoda
Publish Date: October 18, 2007 Website: http://www.technologyopinion.com Contact: AskAshish@technologyopinion.com
To attach an InfoPath form template as a Custom Document Information Panel to Microsoft Office Word 2007, Microsoft Office Excel 2007 and Microsoft Office PowerPoint 2007 documents, the InfoPath form template must be signed and published to a trusted location/site. While you are in the development phase, it is bit tricky to publish an InfoPath form template using self-signed certificate to a local computer for Office 2007 Document Information Panel (DIP) integration. This article explains step-bystep how to publish a self-signed InfoPath form template to local computer.
Step 1 – Set Security to Full Trust
Before publishing the InfoPath template, set up proper security settings using “Tools – Form Options – Security and Trust” option. Set Security level to “Full Trust” and check the “Sign the form template” option.
Step 2 – Create Self-Signed Certificate
Click on the “Create Certificate” button to create a self-signed certificate for the development purpose.
Step 3 – Store Self-Signed Certificate as a File
Click on the “View Certificate” button to and select the “Details” tab. Click on “Copy to File” option and follow Export Certificate wizard to save the certificate to your local computer.
Step 4 – Add Certificate Snap-In through Microsoft Management Console
Open Microsoft Management Console (mmc.exe). Select “File – Add/Remove snap-in…” and add certificates snap-in.
Step 5 – Import Certificate to Trusted Publisher Certificate Store
Select “Trusted Publisher” option. Right click “All Tasks – Import” option to import the self-signed certificate under trusted publisher certificate store.