In article <barmar-(E-Mail Removed)>,
Barry Margolin <(E-Mail Removed)> wrote:
>In article <(E-Mail Removed). com>,
> Bin Chen <(E-Mail Removed)> wrote:
>
>> On Jun 7, 4:46 pm, Robert Harris <robert.f.har...@blueyonder.co.uk>
>> wrote:
>> > Bin Chen wrote:
>> > > Hi,
>> >
>> > > Is there any possible ways to capture HTTP messages over HTTPS?
>> > > Conceptually I know the HTTPS is a SSL link with public or private
>> > > certification key. Suppose I am using firefox to browsing https
>> > > website, so it is possible I take the key from the firefox and then
>> > > input them to the network analyze tools such as tcpdump and ethereal.
>> >
>> > > I want to know how to do it?
>> >
>> > > And if the answer is no, how can the developer to debug the protocol
>> > > over SSL?
>> >
>> > > Thanks in advance!
>> >
>> > > Bin
>> >
>> > There is a program called ssldump that understands SSL - Google for it.
>> >
>> Thanks. Do you know how to get the key file from firefox and then
>> input to the ssldump?
>
>I think ssldump captures it from the SSL session all by itself.
That shouldn't be possible. In theory, if a session could be decrypted
by simply analyzing the session, then what good would the encryption be??
I have thought about implementing a decryption feature for another
protocol analysis tool (you can guess which one), so I have looked into
this a little. In order to be able to decrypt an SSL session, you would
at a minimum need to have access to the server's private key - as far as I
can tell, THAT would be the one piece of information that would be hard
to get. As I learn more about the basics of SSL, I'm sure I'll find out
what else might be needed?
Oh, and ssldump's manual talks about decryption as well:
(from ssldump's TROUBLESHOOTING guide)
Case 1: No private key
If ssldump is going to decrypt the traffic it needs to have the
server's private key. You provide it with the '-k' option. The kay
password (if needed) is provide with the '-p' option.
Patrick Klos
========= For LAN/WAN Protocol Analysis, check out PacketView Pro! =========
Patrick Klos Email:
(E-Mail Removed)
Klos Technologies, Inc. Web:
http://www.klos.com/
================================================== ==========================