From what I do see in that code:

/* Disable cert verification since we do that ourselves */
status = SSLSetEnableCertVerify(ssl->ctx, false);
if(status) {
if(ssl->loglevel) printf("SSLSetEnableCertVerify failed: code = %d\n", (int)status);
return 0;
}

Hm, well, what does that means?

Phil


2013/4/18 Sven Van Caekenberghe <sven@stfx.eu>
Igor,

On 18 Apr 2013, at 23:21, Igor Stasenko <siguctua@gmail.com> wrote:

> why?
> anything i can help with?

Well, last time I looked (eons ago), in the C code of the Mac SSL plugin, the certificate was not used/implemented.

For starters, follow ZdcPluginSSLSession>>#certiificate[:] to find the primitive.

Then see ihow/if that actually does something and/or is being used - in the C/plugin code.

It would be really great if we could fix this.

Sven


--
Sven Van Caekenberghe
Proudly supporting Pharo
http://pharo.org
http://association.pharo.org
http://consortium.pharo.org