"Nelson B. Bolyard" <[EMAIL PROTECTED]> wrote in message 
news:<[EMAIL PROTECTED]>...
> Girish Narang wrote:
> > 
> > Hi,
> > 
> > I just converted my imap server to imaps.
> > 
> > I can connect from the linux mozilla just fine (Mozilla 1.0, Linux -
> > RH 7.2). However, while connecting from Mozilla running in Windows NT
> > (Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0rc2) Gecko/20020510),
> > I get this error.
> > 
> > "error establishing a encrypted connection to <server ip address> .
> > Error Code -12193"
> > 
> > Please help.
> 
> I surely do wish I could persuade the PSM developers to eliminate that
> blankety-blank generic error message that displays a negative number,
> and change it to display a readable error message instead.  There are
> error message strings defined for all of NSS's error codes.
> 
> Error -12193 is SSL_ERROR_DECODE_ERROR_ALERT.  The string for that error is
> "Peer could not decode an SSL handshake message."
> 
> That error occurs when the SSL peer (the imaps server, in this case) sends 
> us a TLS decode_error alert.  The server sends us a decode_error alert when 
> it cannot properly decode one of the TLS handshake messages it received, or 
> when it concludes that one of the TLS handshake messages it received was
> improperly formatted.
> 
> If your imaps server keeps a server log, perhaps you can find out from that
> log file what the server didn't like.
> 
> Were you doing SSL client authentication?  Perhaps the remote server did 
> not like the client certificate you used.  
> 
> BTW, I would not be inclined to immediately presume that this implies an 
> error in mozilla/NSS.

Thanks for the response.

I have the solution now. All I had to do was to generate a new
certificate on the imapd server machine - which matched it's ip name.
After that, Mozilla worked fine.

However I am still wondering - why it did not complain - becasue as I
have written earlier - the Linux Mozilla works fine, and MS Outlook
(for a change) also worked fine.

Reply via email to