Closed Bug 439902 Opened 16 years ago Closed 16 years ago

Can't open localhost HTTPS connection with invalid certificate (ssl_error_bad_cert_domain)

Categories

(Core :: Security: PSM, defect)

1.9.0 Branch
x86
Windows Vista
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 435558

People

(Reporter: D.Jansen, Assigned: KaiE)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9) Gecko/2008052906 Firefox/3.0

When I'm trying to open a connection to https://localhost I get a -Messagebox- which tolds me that the site is using a invalid certificate.
Then follows some HTML code which tolds me, that the certificate is registered for another URL.
When I'm trying to access it via https://127.0.0.1 i can add an exception for this host.

 

Reproducible: Always

Steps to Reproduce:
1. browsing to https://localhost with 'invalid' certificate
Actual Results:  
I get a -Messagebox- which tolds me that the site is using a invalid certificate.
Then follows some HTML code which tolds me, that the certificate is registered for another URL.

Expected Results:  
It should have shown the 'add exception' window

I've deactivated all Addons to screen out, that they produce the error/bug.
Assignee: nobody → kaie
Component: General → Security: PSM
Product: Firefox → Core
QA Contact: general → psm
Version: unspecified → 1.9.0 Branch
This sounds like two different bugs that I've recently seen.

- you get both error dialog and error page, that's bug 431712

- you get different behavior when using localhost versus 127.0.0.1,
  that might be the same as bug 435558


Dominik, do you use IPv6 and a proxy?

Dominik, I am not sure I understand you, 
what is different between localhost and 127.0.0.1?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hey,

I'm using IPv4 and Proxy, but don't use it for localhost and of course not for 127.0.0.1.

The different between localhost and 127.0.0.1 is the way it looks like, but no 'target' different.

And no, i only get error dialog, seems like it's not #431712

#435558 Should match my error.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
#435558-Quote: 
This happens always when I setup proxy location as 'localhost:someport'.



I don't know if its necessary, that my Proxy host isn't localhost or 127.0.0.1
You need to log in before you can comment on or make changes to this bug.