Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

I've managed to lose my private.key file for my SSL certificate. Is it at all possible to create a new one if I know the passkey and CSR info?

If so, how do I do it?

share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

The "passkey" is just for encryption of the private key, but it is chosen independently of the private key. Correspondingly, no information about the private key can be obtained from the passkey (the passkey is useful information to unlock the private key file, but you do not have that file).

The certificate request contains only the public key; by construction, the private key cannot be (in practice) rebuilt from the public key (which is why the public key can be made, in fact, public).

So the answer is: no, your private key is lost. If the private key could be recomputed from what you have left, then it would be cause for concern. You will have to generate a new private key, and obtain a new certificate.

share|improve this answer
    
oh okay, I suppose I'll have to get it reissued then :( –  Seb Nov 26 '12 at 1:06
3  
Some vendors allow you to "re-key" a certificate. Essentially they sign a completely new certificate for you, but at lower cost to you and with the original expiration date. –  tylerl Nov 26 '12 at 1:18
    
yeah my vendor does it for free, just found out :) –  Seb Nov 26 '12 at 1:26
    
@Seb what vendor is that? –  CMCDragonkai Jan 13 at 9:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.