"unknown SSL error (-12227)"



18 years ago
2 years ago


(Reporter: stevenj, Assigned: javi)


1.0 Branch

Firefox Tracking Flags

(Not tracked)





18 years ago
I am running Debian GNU/Linux on a PowerPC (PowerBook G3), using the Mozilla
0.9.2 binary with PSM from:


(Sorry, I don't know how to find the version number of PSM, or whether it is a
library or daemon for that matter; I though it was just compiled in.)

Anyway, when I try to visit the site above, which worked in previous versions (I
think it worked in 0.9.1) and works in Netscape 4.x, I get the error message:

"You cannot connect to web.mit.edu because of unknown SSL error (-12227)"

I assume this is a bug...let me know if there is any other information I can

Steven G. Johnson

PS. Actually accessing the above site successfully requires an MIT web
certificate, which I have (carried over from mozilla 0.9.1).

Comment 1

18 years ago
PSM version is 2.0 in 0.9.2
Reporter: have you tried a new profile? Don't forget to backup your MIT cert.
Assignee: ssaux → javi
Priority: -- → P3
Target Milestone: --- → 2.1

Comment 2

18 years ago
Moving all P3 and P4 bugs targetted to 2.1 to future.
Target Milestone: 2.1 → Future
Ever confirmed: true

Comment 3

18 years ago
I was getting the same error in Mozilla 0.92 for Mac OS X 
(Build ID 2001072505). It happened when accessing MIT web 
pages that required a valid X.509 personal certificate 
issued by MIT.  It turned out that my personal certificate 
had expired.  After obtaining a new one from the CA and 
installing it in Mozilla, the error went away.

It would be great if Mozilla could provide a descriptive 
error message when a secure server refuses a connection 
due to an expired personal certificate, as Netscape 4.x does.

Comment 4

18 years ago
Mass assigning QA to ckritzer.
QA Contact: junruh → ckritzer

Comment 5

18 years ago
I am running Build 2001090503 on windows 2000.
I get the same error on some ssl pages.

I also use build Mozilla 0.9.3 both use the same user profile.
The 0.9.3 version works ok on the same internet page.

Comment 6

18 years ago
PS the ssl problem started around build 20010828..... (Windows version).

Comment 7

18 years ago
I was having the same issue with my web host's mail server (using IMAPS) from my
wife's Windoze Machine. The problem started when my host's certificate expired.

Interestingly it was also failing under Netscape 4.7. I upgraded her to Mozilla
build 20010801 to alieviate the problem, but no such luck. Upgrading to 9.4
20010916 didn't help any either.

Turns out that the problem resolves itself in both Netscape and Mozilla if you
delete the certificate for the site. (Thanks Chris Griffith) Anyway find the
certificate manager and delete the certificate, your problem should resolve
itself when you restart the browser.

I don't know if I should be asking for a better error message, or if it's really
a bug. But that's the workaround.

Comment 8

17 years ago
OS > all
OS: Linux → All
QA Contact: ckritzer → junruh
Hardware: Macintosh → All
Version: unspecified → 2.1

Comment 9

17 years ago
Im seeing this same error aswell with the 25/10/2001 nightly from mozillazine
when trying to talk to an STunnel proxy, also got the same error from Netscape
4.1 and 6.1. General feeling seems to point with a problem in the server side cert.

Comment 10

17 years ago
*** Bug 111724 has been marked as a duplicate of this bug. ***

Comment 11

17 years ago
I got this error (-122227) when I had no personal certificates
imported in Mozilla (0.9.7) and I tried to access MIT ssl pages
that required my certificate.

Once I exported / imported the Netscape 4.x certificate it worked
without a hitch.

So for me this is an "unclear error message" bug - the server
must have required a cert and mozilla had zero certificates to
offer, and showed a cryptic error code.  This failure mode ought
to eventually have a better error message.

Perhaps unkown numerical error messages should point to a mozilla.org
page (http://errorcodes.mozilla.org/ssl#-12227) which would aid the
user (and generate useful debuggin statistics).
Or just use the talkback feature.

Comment 12

17 years ago
Marking WFM. Error messages should now be explained in text instead of an error 
number. Error -12227 is: "SSL peer was unable to negotiate an acceptable set of 
security parameters."
Last Resolved: 17 years ago
Resolution: --- → WORKSFORME

Comment 13

17 years ago


14 years ago
Component: Security: UI → Security: UI
Product: PSM → Core


11 years ago
Version: psm2.1 → 1.0 Branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.