Signer certificate is not valid for signing

When debugging in Visual Studio, I get this error

Subscriber certificate is not valid for signing, an error occurred while trying to sign: sharepoint_link.dll, command
"C: \ Program Files (x86) \ Microsoft SDK \ Windows \ v7.0A \ Bin \ signtool.exe" sign / f
"C: \ Users \ Administrator \ Documents \ GitHub \ SPLink2010 \ SharePoint_Link \ ITOPIA_certificate2.p12" / p $ h0pp1ng / t " http://tsa.starfieldtech.com " "SharePoint_Link.dll" "
with code 1

I created a new test certificate and imported it using the Certificate Import Wizard, but I still get this error. I also deleted the old temporary certificate using certmgr.exe , but in vain, I still get this error.

+7
source share
1 answer

It's simple; follow these steps:

  • Right-click Project in Solution Explorer in the right pane and select Properties from the context menu. Remember to right-click on the main project, not the solution.

  • A window will open, then click the Signing tab.

  • Here you can see the Create test certificate button, click on it and it will ask for a password, just leave it blank and you are done.

+10
source

All Articles