Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7897501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:10:56+00:00 2026-06-03T08:10:56+00:00

I’m having the same issue as described in several places, including in Stack Overflow

  • 0

I’m having the same issue as described in several places, including in Stack Overflow question Visual Studio reporting error “PFX – Error Importing Key / Object already exists”.

Most people are having issues on Windows Vista and Windows 7, but in my case I’m running as an administrative user on Windows XP. I’ve tried all of the solutions I’ve found and none have worked so far. Since most of the information I’m finding is a few years old: is there some better/current information and maybe a fix that works more often?

My code signing certificate comes from Go Daddy, and it works fine with the SignTool.exe utility. I’ve signed a lot of EXE files built outside of Visual Studio using SignTool.exe and they all validate correctly.

I tried signing my EXE file for my current project this way, with SignTool.exe, but there appears to be some extra issues related to the ClickOnce publishing I’m trying to use for this project… Hashes are not matching, and ClickOnce is still reporting as “publisher unknown” even though the EXE file is signed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T08:10:57+00:00Added an answer on June 3, 2026 at 8:10 am

    I still can’t get the IDE option to work, but this worked for me and isn’t too bad:

    1. Enable “Sign the ClickOnce manifests” in the IDE and select “from store” (selecting from PFX file produces the same “object already exists” error).

    2. Do not check “Sign the assembly”.

    3. Add a post build event to run:

      c:\signtool.exe sign /f c:\cert.pfx /p password /t http://tsa.starfieldtech.com c:\project\obj\debug\myapp.exe
      

    So basically using the signtool.exe to sign was the trick, but also the manifest needs to be signed (which I let the IDE do), and the other non-obvious part was that you need to sign the EXE file from the OBJ folder, not the BIN folder.

    I like this better than the IDE I guess, because with the IDE I think you have to enter your password every time. This way the password is in the post build event command-line.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I need to clean up various Word 'smart' characters in user input, including but
I'm having trouble keeping the paragraph square between the quote marks. In firefox the
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I would like to count the length of a string with PHP. The string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.