Skip to main content

Sign ClickOnce manifests with Visual Studio using KSP library

Visual Studio is an an Integrated Development Environment (IDE) for software development on the Windows platform. It provides a user-friendly interface for writing, compiling, testing, and debugging code. Visual Studio supports multiple programming languages, including C++, C#, Visual Basic, and more.

Follow these instructions to sign with Visual Studio and securely reference your private key stored in DigiCert​​®​​ KeyLocker.

Requirements

Sign

After creating your project in the Visual Studio application:

  1. Select Start.

  2. Select Debug Properties.

  3. In the Debug Window, select Signing in the navigation panel.

  4. Select Sign the ClickOnce manifests.

  5. Choose Select from Store.

  6. If your signing server already has the software and certificates loaded, you will see a new window that allows you to choose a certificate.

  7. In the Timestamp server URL field, enter http://timestamp.digicert.com.

  8. Select Publish.

  9. Choose the Publishing Folder Location.

  10. Select Publish Now.

Verify signature

To verify that your application is signed:

  1. Navigate to the location where you saved the project.

  2. Go to the file properties.

  3. Select Digital Signatures.

  4. Select Details.

You can view the certificate and timestamp details from here.