Closed
Bug 92003
Opened 24 years ago
Closed 24 years ago
SSL/SMTP fails if not logged into cert db.
Categories
(Core Graveyard :: Security: UI, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
psm2.1
People
(Reporter: ji, Assigned: javi)
Details
(Keywords: crash, relnote, Whiteboard: [ckritzer] [MacOS_X])
Attachments
(1 file)
Build: Mac 07/23 branch build.
With SSL SMTP, I'm unable to send out mails. After clicking on Send button, the
sending status window pops up and so does certificate selection window. But the
window focus stays on sending status window, so it makes me impossible to select
certificate and send out mails.
Steps to reproduce:
1. Get an AOL certificate at https://certificates.netscape.com/ and install it
on your client.
2. Go to Edit | Prefrences | Privacy and Security | Certificates
Check on Ask Every Time
3. Set you SMTP account use SSL
4. Compose a mail and click on Send
The sending status window comes up, then certificate window comes up too. But
the window focus stays on status window, and you can't do anything with that.
Windows and linux build don't have window focus problem, but I'm unable to send
out mails with SSL either on these two platforms. I got an error message saying
that sending has failed.
After I check on Use name and password, I can send out mails on windows and
linux, but Mac build still have this window focus problem.
Comment 3•24 years ago
|
||
This won't make it into the branch.
t->2.1
P1
->javi
Assignee: ssaux → javi
Priority: -- → P1
Target Milestone: --- → 2.1
Version: 1.01 → 2.0
Comment 4•24 years ago
|
||
Reproducible. Adding crash and relnote keywords. The workaround is to leave the
pref setting under Certificates to "Select Automatically".
Checking on "Select Automatically" actually is not working. I got an error
message saying that "Sending of message failed"
there was a bug filed for SSL and the only workaround proposed was to set SSL
prefs to "Never"
| Assignee | ||
Comment 7•24 years ago
|
||
Do we know when this last worked?
Tried 07/24 build with a new profile. "Select Automatically" works. I can send
out mails with SSL with that preference setting.
Marina, in the case that browser doesn't have any certificate installed, sending
will fail if you don't use "Never" option. That's why "Nerver" is the default
choice now when setting up SMTP. But that problem doesn't exist if browser has
certificate installed.
so with no cert we chose "Never" ( nothing else works), with the cert every
option is available?
| Reporter | ||
Comment 10•24 years ago
|
||
With 07/24 branch build, with or w/o cert, every option is available. It seems
that problem that you can only choose "Never" (in the case no cert is installed)
has been fixed.
Not sure about trunk.
Comment 11•24 years ago
|
||
adding nsenterprise to all P1, P2 PSM bugs with target milestone of 2.1
Keywords: nsenterprise
Updated•24 years ago
|
Keywords: nsenterprise → nsenterprise+
| Assignee | ||
Comment 13•24 years ago
|
||
The parenting problem seems to have fixed itself, but now I get prompted for a
certificate twice, then it actually sends the message. (Not sure if SSL
eventually succeeds or if SMTP code falls back to non-SSL connection.)
Summary: Unable to send out mails with SSL, window focus stays on sending status → SSL/SMTP asks for cert twice when "Ask Everytime" is set.
| Assignee | ||
Comment 14•24 years ago
|
||
I'm not sure why there are 2 connections being created in this case.
mscott: Is it normal for the SMTP to make 2 connections? It seems that it
makes one connection to the SMTP server, then another one to the IMAP server to
copy the message to my Send folder.
I'm about to post the patch I've got so far, if mscott says the behavior is
normal, then the attached patch will be the proposed fix.
| Assignee | ||
Comment 15•24 years ago
|
||
Comment 16•24 years ago
|
||
hey javi, it is true that we will create 2 server connections if your sent
folder is an imap folder. So one connection for the smtp protocol and one
connection for imap to put the message in your sent folder.
If you are seeing 2 STMP connections then that would be a problem. Is that the
case? or is the 2nd connection the imap server.
| Assignee | ||
Comment 17•24 years ago
|
||
I'm assuming the second connection is to the IMAP server since it says"Copying
message to Sent folder" as I get prompted the second time. It just "feels" like
there are 2 SMTP connections because the cert selection dialog comes up again
almost instantaneously.
The attached patch is still require just in case the user is not logged into
his/her cert db at the time the message is sent.
Comment 18•24 years ago
|
||
r=ddrinan.
| Assignee | ||
Comment 19•24 years ago
|
||
Updating summary.
Summary: SSL/SMTP asks for cert twice when "Ask Everytime" is set. → SSL/SMTP fails if not logged into cert db.
Comment 20•24 years ago
|
||
sr=mscott
| Assignee | ||
Comment 21•24 years ago
|
||
Patch checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 22•24 years ago
|
||
This is FIXED on:
- MacOS91 2001-08-21-04-trunk (commercial)
- LinRH62 2001-08-21-06-trunk (commercial)
- Win98SE 2001-08-21-11-trunk (commercial)
But crashes on:
- MacOS_X 2001-08-21-05-trunk (commercial)
Comment 23•24 years ago
|
||
Removing dependancy, marking VERIFIED FIXED, adding note to self to re-verify on
MacOS_X when 96419 is fixed.
Marking VERIFIED FIXED on:
- MacOS91 2001-08-21-04-trunk (commercial)
- LinRH62 2001-08-21-06-trunk (commercial)
- Win98SE 2001-08-21-11-trunk (commercial)
VERIFICATION PENDING on:
- MacOS_X 2001-08-21-05-trunk (commercial)
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•