[Mono-list] Problem using SSL

Jeff Zellner jeff at odyl.net
Tue Feb 8 11:25:11 EST 2011


I'm evaluating switching my .Net web application to Mono and, for the
most part, it's going swimmingly. I'm running on hand-compiled 2.8.2
tarball (no crazy config flags, just --prefix).

One problem that I keep bumping into however is, when POSTing to the
Facebook API (over https), in my fastcgi logs I see:

Missing method .ctor in assembly
/opt/mono/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll,
type Mono.Security.Protocol.Tls.CertificateValidationCallback2

And the page with the POST times out.

I've imported the Mozilla roots, added the proper certs to the machine
store and the user store. I was bashing my head up against this and
ran across a page that suggested "run ./autogen.sh not ./configure". I
did that, rebuilt, and everything worked fine.

Well, I'm on a different machine now, same code, same Mono, following
all the same steps -- I'm running into this problem again. Any clue
what could be going on?


More information about the Mono-list mailing list