Lollipop

Welcome to PcCare.com

Code signing .Net assemblies

 

Build Engineer Certificate creation and refresh, developers shouldn't follow these steps

Navigate to Verisign's site and run a utility which creates a local .pvk file. Verisign later emails an .spc file. These two files should be copied to every build machine. These steps should be followed when certificates are refreshed or created.

The following steps must be executed by each build manager on every machine they use. This must be done for every build manager because the certs are stored in the users personal store.
  • MMC->Console->Add/Remove snap in->Add->Certificates->Add->My User Account->Finish->Close->OK

  • Open Certificates->Personal->certificates

  • Delete any existing certs named "PcCare".

  • Right click mouse in right hand pane->All tasks->Import->Browse->pccarekey.pfx (from above step)

  • Password from above->Uncheck enable strong name protection and Mark private key as exportable->Next->Place all certificates in following store->personal->Next

  • Certificate store->Place certificate in following store->personal->Finish->OK

  • You should see the PcCare certificate, Double click it.

  • The following steps should be performed a single time, they are not required on every build workstation or for every build manager.

These steps update Visual Studion 2005 to use the new certs thumbprint

  • From MMC open on the last step 20, Select details tab->Thumbprint-> copy entire number that looks like this,  074A  2F78 4E2B 89E3 1378  8D17 4A6E into the clipboard.

  • Open Notepad and paste the number you just copied.

  • Edit the number in notepad and remove all space characters, should look like this: 

  • Copy this number back into the clipboard

  • Check .csproj out of clearcase

  • Start->Programs->Visual Studio 2005->Microsoft Visual Studio 2005->File->Open->PRoject/Solution->PcCare.csproj

  • Menu->Project->PcCare properties->Build->configuration->Release

  • Menu->Project->PcCare properties->Signing->Select from store->PcCare->OK

  • Menu->File->Save ALL

 

Code signing best practices

 

 

DISCLAIMER: It is assumed that users are familiar with the operating system they are using and comfortable with making the suggested changes. PcCare.com will not be held responsible if changes you make cause a system failure.

Please review our Terms of Service and Privacy statement before initiating service or using this site. Microsoft® and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. PcCare Site Map. About Us