ssl .key file lost, could i recreate it ?

Froggiz asked:

i lost my .key file for one of my domain who was made by my ssl provider, i still got my .crt and .pem files.

Is it possible to recreate by my self a .key file matching with the certificate ?

My answer:


Only the private key that you originally created will ever match the certificate. If it were possible to recreate it, then it would not be secure!

If you lose the private key, then the only thing you can do is to have your existing certificate revoked, and a new certificate issued with a new private key.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.