From: Matthew Finkel <matthew.finkel@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] {OT} Can I retrieve my SSL key?
Date: Thu, 18 Aug 2011 03:18:40 -0400 [thread overview]
Message-ID: <CAGF8hsu46_y5B8z0d7=LEC3GOGNRK3rD7-6RNVE-UShOrtEQaw@mail.gmail.com> (raw)
In-Reply-To: <CA+czFiC1pnRAXU6gm9SErV+KL_acoKSG2YFudbkz3aiZ+jcqPg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1446 bytes --]
On Wed, Aug 17, 2011 at 10:24 PM, Michael Mol <mikemol@gmail.com> wrote:
> On Wed, Aug 17, 2011 at 9:45 PM, Francisco Blas Izquierdo Riera (klondike)
> <klondike@gentoo.org> wrote:
>
>> El 18/08/11 03:37, Grant escribió:
>> >>> I just accidentally overwrote my SSL certificate key. Is there any
>> >>> way to retrieve it? Possibly some sort of export since I haven't
>> >>> restarted apache2 yet?
>> >> What, exactly, did you do that caused the overwrite?
>> > I generated a new key but used the wrong filename so it overwrote a
>> > key that has an associated certificate.
>> Hopefully you can still ext3undelete it Worst case you have to parse the
>> whole disk looking for a pattern with a custom C program (AHH the pain!)
>>
>> There are file carver tools I've not had any luck with them, though.
>
>
> --
> :wq
>
As Francisco mentioned, depending on the filesystem you're using, there may
exist an 'undelete' tool which came with the util package. If not, then
assuming you have at least a few gigs of free space on your drive/partition
the chances that the file was /actually/ overwritten are quite slim, so the
cert is most likely still there. Any decent "data recovery" program should
be able to find it (and just about every single other file you've ever
deleted). I wish I could recommend one, but I thankfully have not needed one
recently (hopefully this won't jinx it :) ).
Good Luck!
- Matt
[-- Attachment #2: Type: text/html, Size: 2177 bytes --]
next prev parent reply other threads:[~2011-08-18 7:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-18 1:23 [gentoo-user] {OT} Can I retrieve my SSL key? Grant
2011-08-18 1:27 ` Michael Mol
2011-08-18 1:37 ` Grant
2011-08-18 1:45 ` Francisco Blas Izquierdo Riera (klondike)
2011-08-18 1:59 ` Grant
2011-08-18 2:24 ` Michael Mol
2011-08-18 7:18 ` Matthew Finkel [this message]
2011-08-18 8:36 ` Neil Bothwick
2011-08-18 9:41 ` Adam Carter
2011-08-18 10:09 ` Andrea Conti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGF8hsu46_y5B8z0d7=LEC3GOGNRK3rD7-6RNVE-UShOrtEQaw@mail.gmail.com' \
--to=matthew.finkel@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox