Retrieving an RSA key from a running instance of Apache?

Posted by Nathan Osman on Server Fault See other posts from Server Fault or by Nathan Osman
Published on 2013-10-29T01:34:18Z Indexed on 2013/10/29 3:57 UTC
Read the original article Hit count: 535

Filed under:
|
|

I created an RSA keypair for an SSL certificate and stored the private key in /etc/ssl/private/server.key. Unfortunately this was the only copy of the private key that I had.

Then I accidentally overwrote the file on disk (yes, I know).

Apache is still running and still serving SSL requests, leading me to believe that there may be hope in recovering the private key. (Perhaps there is a symbolic link somewhere in /proc or something?)

This server is running Ubuntu 12.04 LTS.

© Server Fault or respective owner

Related posts about apache2

Related posts about ssl