[Mono-bugs] [Bug 66929][Nor] Changed - ssl doesn't work with tomcat and java

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 27 Sep 2004 19:22:48 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by james@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=66929

--- shadow/66929	2004-09-27 19:19:01.000000000 -0400
+++ shadow/66929.tmp.28901	2004-09-27 19:22:48.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 66929
 Product: Mono: Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Sys.Web
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: tambet@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -20,6 +20,71 @@
 thing works with wget and firefox. Raw dump attached.
 
 ------- Additional Comments From tambet@ximian.com  2004-09-27 19:19 -------
 Created an attachment (id=11388)
 dump
 
+
+------- Additional Comments From james@ximian.com  2004-09-27 19:22 -------
+Here's the root exception, when using tlstest.
+
+
+System.IO.IOException: The authentication or decryption has failed:
+System.ArgumentOutOfRangeException: Non-negative number required.
+Parameter name: destOffset
+in [0x00059] (at
+/home/snorp/cvs/ximian/mcs/class/corlib/System/Buffer.cs:93)
+System.Buffer:BlockCopy (System.Array,int,System.Array,int,int)
+in [0x00014] (at
+/home/snorp/cvs/ximian/mcs/class/corlib/Mono.Security.Cryptography/PKCS1.cs:104)
+Mono.Security.Cryptography.PKCS1:I2OSP (byte[],int)
+in [0x00076] (at
+/home/snorp/cvs/ximian/mcs/class/corlib/Mono.Security.Cryptography/PKCS1.cs:250)
+Mono.Security.Cryptography.PKCS1:Encrypt_v15
+(System.Security.Cryptography.RSA,System.Security.Cryptography.RandomNumberGenerator,byte[])
+in [0x00023] (at
+/home/snorp/cvs/ximian/mcs/class/corlib/System.Security.Cryptography/RSAPKCS1KeyExchangeFormatter.cs:73)
+System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter:CreateKeyExchange
+(byte[])
+in [0x00063] (at
+/home/snorp/cvs/ximian/mcs/class/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:104)
+Mono.Security.Protocol.Tls.Handshake.Client.TlsClientKeyExchange:ProcessAsTls1
+()
+in [0x00038] (at
+/home/snorp/cvs/ximian/mcs/class/Mono.Security/Mono.Security.Protocol.Tls.Handshake/HandshakeMessage.cs:105)
+Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process ()
+in <0x0004f> (wrapper remoting-invoke-with-check)
+Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process ()
+in [0x00009] (at
+/home/snorp/cvs/ximian/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:78)
+Mono.Security.Protocol.Tls.ClientRecordProtocol:SendRecord
+(Mono.Security.Protocol.Tls.Handshake.HandshakeType)
+in [0x00097] (at
+/home/snorp/cvs/ximian/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs:736)
+Mono.Security.Protocol.Tls.SslClientStream:NegotiateHandshake ()
+ 
+in [0x00157] (at
+/home/snorp/cvs/ximian/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs:772)
+Mono.Security.Protocol.Tls.SslClientStream:NegotiateHandshake ()
+in <0x0004f> (wrapper remoting-invoke-with-check)
+Mono.Security.Protocol.Tls.SslClientStream:NegotiateHandshake ()
+in [0x0007e] (at
+/home/snorp/cvs/ximian/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs:557)
+Mono.Security.Protocol.Tls.SslClientStream:BeginWrite
+(byte[],int,int,System.AsyncCallback,object)
+in [0x00006] (at
+/home/snorp/cvs/ximian/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs:656)
+Mono.Security.Protocol.Tls.SslClientStream:Write (byte[],int,int)
+in [0x00056] (at
+/home/snorp/cvs/ximian/mcs/class/corlib/System.IO/StreamWriter.cs:204)
+System.IO.StreamWriter:FlushBytes ()
+in <0x0004f> (wrapper remoting-invoke-with-check)
+System.IO.StreamWriter:FlushBytes ()
+in [0x00029] (at
+/home/snorp/cvs/ximian/mcs/class/corlib/System.IO/StreamWriter.cs:185)
+System.IO.StreamWriter:Flush ()
+in [0x000c9] (at
+/home/snorp/cvs/ximian/mcs/class/Mono.Security/Test/tools/tlstest/tlstest.cs:213)
+TlsTest:GetStreamPage (string)
+in [0x0027d] (at
+/home/snorp/cvs/ximian/mcs/class/Mono.Security/Test/tools/tlstest/tlstest.cs:152)
+TlsTest:Main (string[])