[Pharo-users] SSL client certificates

Sven Van Caekenberghe sven at stfx.eu
Tue Jan 12 14:05:00 EST 2016


> On 12 Jan 2016, at 16:25, Sven Van Caekenberghe <sven at stfx.eu> wrote:
> 
> Given a ZdcSecureSocketStream you can access the #sslSession. In this session object you can use #certificateName: to set the path or name of the certificate (before you #connect !). That is the general idea.
> 
> Now, I don't know if this works or not. Be prepared to look in the plugin C code! On Linux this will probably work.

I see that in ZnClient>>#setupTLSTo: the certificate set on ZnClient is passed on automatically. So at one point, this must have worked, and probably still does.

> And please let us know how it goes ;-)
> 
>> On 12 Jan 2016, at 16:05, Norbert Hartl <norbert at hartl.name> wrote:
>> 
>> Is there a way to make SSL connections to the outside world using client certificates from pharo?
>> 
>> thanks,
>> 
>> Norbert
>> 
>> 
>> 
> 





More information about the Pharo-users mailing list