Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do you store the private key for your code signing certificate?

I recently acquired a code signing certificate for my employer, but I am not the InstallShield developer who will sign the binaries before distribution. I know I can export the certificate along with its private key, but where do I store it so the InstallShield developer can install it on his machine? Should I remove it from my machine once I give it to the person doing the signing? Where do I store the master copy? Obviously, source control is not the best place, unless I lock down that directory in SVN.

like image 955
flipdoubt Avatar asked Mar 29 '10 14:03

flipdoubt


People also ask

Where is certificate private key stored?

If you have not yet installed your certificate, then the most likely location of your private key is on the computer or server where you generated the key pair and CSR. When you generated the key pair, you saved two files: one that contains the public key and one that contains the private key.

What do I do with SSL private key?

Note: At no point in the SSL process does The SSL Store or the Certificate Authority have your private key. It should be saved safely on the server you generated it on. Do not send your private key to anyone, as that can compromise the security of your certificate.


1 Answers

Enforce Security Policies for Private Keys

Remember: a private key in conjunction with released signed binaries is your company's identity. Policies for handling such keys can't be strict enough.

Enforce that YOU are the only persion in your company who will be capable (and responsible) of signing executables.

If this is not an option then let all PKI-involved employees sign an explicit non-disclosure agreement with a high fine - a much higher sense of responsibility should be the result.

Key Transfers

  • use portable media (like a dedicated USB stick or CD-ROM) - I'd prefer a read-only media
  • let the receipt be witnessed by another employee
  • let the recipient and the witness sign a form about the key-receipt

Storage of the Master Copy

Store the master copy redundant on at least 3 drives at different geographical locations where you have exclusive access to. Also think about encrypting the copies with strong encryption algorithms like AES-256 (in a 7z file for example).

like image 158
Robert Avatar answered Nov 10 '22 00:11

Robert