Share via


How to: Sign an Office Solution (2007 System)

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Project type

  • Document-level projects

  • Application-level projects

Microsoft Office version

  • 2007 Microsoft Office system

For more information, see Features Available by Application and Project Type.

If you sign a solution, you can grant trust to the solution using the certificate as evidence. You can use the same certificate for multiple solutions, and all the solutions will be trusted with no additional security policy updates.

If you manually edit application and deployment manifests by using the Manifest Generation and Editing Tool (mage.exe and mageui.exe), you must re-sign the manifests before you can use them. For more information, see Manifest Generation and Editing Tool (Mage.exe) and Manifest Generation and Editing Tool, Graphical Client (MageUI.exe).

Signing by Using a Certificate

A certificate is a file that contains a unique key and the identity of the solution publisher. You can purchase certificates from a certificate authority, or create your own certificate and have a certificate authority sign it.

Visual Studio Tools for Office signs Office solutions with a temporary certificate to enable debugging. You should not use the temporary certificate in deployed solutions as evidence.

To sign an Office solution by using a certificate

  1. On the Project menu, click SolutionNameProperties.

  2. Click the Signing tab.

  3. Select Sign the ClickOnce manifests.

  4. Locate the certificate by clicking Select from Store or Select from File and navigating to the certificate.

  5. To verify that the correct certificate is being used, click More Details to view the certificate information.

See Also

Concepts

Security in Office Solutions (2007 System)

Granting Trust to Office Solutions (2007 System)

Reference

Signing Page, Project Designer