[Mono-list] WS over HTTPS

Pere Rodríguez pere.rodriguez.rodriguez at gmail.com
Wed Nov 23 07:29:26 EST 2005


Hello,

I can't connect to a WS that runs over HTTPS.
With mozilla navigator I can connect to the WS, so I run mozroots to
install al certificates that use mozilla in my mono machine, but I
still can't connect to the WS.

This is the error of the proxy class:

Error writing request.
in <0x00237> System.Net.WebConnectionStream:WriteRequest ()
in <0x0013b> System.Net.WebConnectionStream:Close ()
in <0x00030> System.IO.StreamWriter:Dispose (Boolean disposing)
in <0x00014> System.IO.StreamWriter:Close ()
in <0x0001e> System.Xml.XmlTextWriter:Close ()
in <0x000b7> System.Web.Services.Protocols.SoapHttpClientProtocol:SendRequest
(System.IO.Stream s, System.Web.Services.Protocols.SoapClientMessage
message, System.Web.Services.Protocols.SoapExtension[] extensions)
in <0x0013e> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
(System.String method_name, System.Object[] parameters)


If I execute tlstest I obtain this error:

Error #-2146762490: CERT_E_PURPOSE 0x800B0106


With a sniffer I see from the client to the server this:

Secure Socket Layer
   TLS Record Layer: Alert (Level: Warning, Description: Bad Certificate)
       Content Type: Alert (21)
       Version: TLS 1.0 (0x0301)
       Length: 2
       Alert Message
           Level: Warning (1)
           Description: Bad Certificate (42)

It seems that I don't have installed the certificate, but I previously
run mozroots and from mozilla navigator I can access to the WS.

I run mono over Debian Sarge.

What can I do?

Thanks in advance,

pere


More information about the Mono-list mailing list