Retrieving an RSA key from a running instance of Apache?
- by Nathan Osman
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.