Closed Bug 268975 Opened 16 years ago Closed 5 years ago

nsIBadCertListener has no public way to get hostname being talked to

Categories

(Core :: Security: PSM, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: wbardwel, Unassigned)

References

Details

(Whiteboard: [kerh-ehz])

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040308
Build Identifier: 

The various methods in nsIBadCertListener interface are given an
nsIInterfaceRequester and the certificate, but no public interface
that lets them get at the hostname being connected to.  That makes
it harder to write ones own nsIBadCertListener.  The nsIInterfaceRequestor
is infact a nsNSSSocketInfo which has the hostname, but that is a private
interface.  There should be a way to get at a public interface that
will say what the hostname being connected to is.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Product: PSM → Core
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This is still a problem, still exactly as described.  Nobody else seems to be
using the mozilla stuff to do HTTP outside of just a browser.
Severity: normal → enhancement
Whiteboard: [kerh-ehz]
QA Contact: ui
Version: Other Branch → Trunk
Mass change owner of unconfirmed "Core:Security UI/PSM/SMime" bugs to nobody.
Search for kaie-20100607-unconfirmed-nobody
Assignee: kaie → nobody
Bug 327181 introduced nsIBadCertListener2.notifyCertProblem() that AFAICT provides hostname information.

See https://hg.mozilla.org/mozilla-central/annotate/92f57efec305/security/manager/ssl/nsIBadCertListener2.idl#l29 for the current location.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Component: Security: UI → Security: PSM
Depends on: https-error-pages
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.