I have recently spent some time trying to solve some SSL and TLS problems a certain intranet web application has. The only remaining (known ) problem is that if the network.http.max-persistent-connections-per-server pref is set to value greater than one, I often get "bad record MAC" errors when connecting to the server after restarting the browser.
Now, since the server in question is somewhat custom, the working hypothesis is that problem is in the server. However, it would help with debugging if I could get a log from Mozilla's "point of view". I know Mozilla Nightly Builds have HTTP logging facilities. However, though they are detailed when it comes to transport layer, they never have any mention of SSL.
Is there some additional option in NSPR_LOG_MODULES in addition to nsHttp, nsSocketTransport and nsHostResolver? Or is there some other way to get Mozilla to log SSL events? Any other ideas on how to go about solving this problem?
Can Mozilla or Firefox produce SSL debug log?
-
- Posts: 29
- Joined: May 13th, 2003, 12:22 pm
- Location: Suonenjoki, Finland
-
- Posts: 29
- Joined: May 13th, 2003, 12:22 pm
- Location: Suonenjoki, Finland
It seems that Charles may help, I'll have to try that. Thanks for the suggestion.
It is possible though that Charles slightly alters the process and that the problem won't get reproduced. For example, SSLTap didn't work here: the problem has to do with multiple connections and SSLTap can only handle one connection at a time.
Though Live HTTP Headers is generally very useful, unfortunately it's usefulness doesn't extend here since the HTTP layer seems to be working perfectly.
It is possible though that Charles slightly alters the process and that the problem won't get reproduced. For example, SSLTap didn't work here: the problem has to do with multiple connections and SSLTap can only handle one connection at a time.
Though Live HTTP Headers is generally very useful, unfortunately it's usefulness doesn't extend here since the HTTP layer seems to be working perfectly.