On Thu, 2006-12-21 at 11:11 -0800, Joshua Kahn wrote:
> Hello-
> 
> I am trying to build a .NET web service on Mono (CentOS, Mono 1.2.2.1, XSP 
> 2.0) that calls another web service over HTTPS.  My service runs fine on my 
> Windows development machine while running XSP;  however, I get the following 
> error when moving it to my Linux server:
> 
> Error getting response stream (Write): SendFailure
> 
> After searching extensively, I have not been able to find a solution.  I 
> attempted all of the options found at 
> http://www.mono-project.com/FAQ:_Security:
>   - Created "trust all" certificate policy in web service app
>   - Used certmgr to add all certificates from the web service URL
>   - Used mozroots to import all Firefox certificates into Mono (after 
> visiting the web service in Firefox without problem)
> 
> I did #2, 3 for both my Apache user (web), the root user, and imported into 
> the machine store.
> 
> Does anyone have any other ideas?  I have been unable to find any bugs 
> reports around this topic.  Is there a Mono log on Linux somewhere that might 
> provide more insight into the problem?

Try setting the ServicePointManager.CertificatePolicy to an
ICertificatePolicy that does nothing but returning 'true'. If that
works, it has to be a problem with the certificate. Current svn might
report more precise information on the actual problem.

-Gonzalo


_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to