>>> I am creating a HttpsURLConnection to use HTTPS to talk to a server.
>>> Is there a way to log the plaintext HTTP request headers on client
[quoted text clipped - 15 lines]
>
> http://wiki.wireshark.org/SSL
> Thanks for this hint. But because I don't have access to the server,
> I don't have access to the server's certificate keys, too.
>
> Furthermore, I need a solution in Java code, because the HTTP
> request headers have to be logged in the application that does the
> HTTPS communication.
Are you just debugging? If so, don't the proxy solutions I mentioned
handle this transparently?
Or are you looking for a way to add this ability to your application?
If that's the case, then someone else will have to comment...
/gordon
--
Stefan Palme - 30 Jan 2008 11:26 GMT
>> Thanks for this hint. But because I don't have access to the server, I
>> don't have access to the server's certificate keys, too.
[quoted text clipped - 8 lines]
> Or are you looking for a way to add this ability to your application? If
> that's the case, then someone else will have to comment...
It has to be build into the application, because if a customer who
uses this application has problems, she should simply activate this
debugging output to generate a report containing the HTTP headers sent.
These customers often don't have very high computer skills, so network
sniffing or proxying is not really an option :-)
regards
-stefan-