[Mono-devel-list] HttpWebRequest over SSL

Andrew Gleave Andrew.Gleave at ifgmgt.com
Mon Feb 28 09:51:11 EST 2005


Hi all,
    We're experimenting with mono for a small app that uses a GET to
pull down page contents.  I have tested the code over http, and https
using .NET and it works fine.  However, when using mono the http test
works fine but the https fails.  I'm getting the following exception
thrown and trace:
 

Unhandled Exception: System.Net.WebException: Error getting response
stream (Write): SendFailure ---> System.IO.IOException: The
authentication or decryption has failed.
in <0x001ec>
Mono.Security.Protocol.Tls.SslClientStream:NegotiateHandshake ()
in <0x00038> (wrapper remoting-invoke-with-check)
Mono.Security.Protocol.Tls.SslClientStream:NegotiateHandshake ()
in <0x000a9> Mono.Security.Protocol.Tls.SslClientStream:BeginWrite
(byte[],int,int,System.AsyncCallback,object)
in <0x0001b> Mono.Security.Protocol.Tls.SslClientStream:Write
(byte[],int,int)
in <0x0002e> System.Net.WebConnection:Write (byte[],int,int)
--- End of inner exception stack trace ---
 
in <0x003e4> System.Net.HttpWebRequest:CheckFinalStatus
(System.Net.WebAsyncResult)
in <0x00045> (wrapper remoting-invoke-with-check)
System.Net.HttpWebRequest:CheckFinalStatus (System.Net.WebAsyncResult)
in <0x000f2> System.Net.HttpWebRequest:EndGetResponse
(System.IAsyncResult)
in <0x0005f> System.Net.HttpWebRequest:GetResponse ()
in <0x000fd> GetRequest.GetRequestTest:Main (string[])
 
 
Anyone got any pointers to get this functioning, or is it a work in
progress?
 
Thanks
 
 
Andrew

The information contained in this E-mail is confidential. It may also be legally privileged. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this E-mail. Such unauthorised use may be unlawful. If you have received this E-mail in error, please inform us immediately and delete it and all copies from your system.

Due to the fact that this E-mail could become corrupted or altered during transmission, any advice which it contains should not be relied upon unless subsequently confirmed by fax or letter signed by or on behalf of this company.

E-mails do not constitute compliance with any time limits or deadlines. 

#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by NetIQ MailMarshal
#####################################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050228/8ee1444c/attachment.html 


More information about the Mono-devel-list mailing list