[Pharo-users] SSL client certificates

Norbert Hartl norbert at hartl.name
Wed Jan 13 07:33:47 EST 2016


Sven,

> Am 12.01.2016 um 16:25 schrieb Sven Van Caekenberghe <sven at stfx.eu>:
> 
> 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 spent some time to figure out how this works. But I don't get it. I don't know what this copying back and forth of bytes in the SSL handshake is supposed to do. I just can see that on a second read from the socket the connection is closed from the remote side. Not much here. 
I think it will take too much time for me to figure it out. And I'm afraid I don't have that many spare cycles.

We should rethink "software bounties". I don't have the time to fix this but I'm willing to put some money on the table to have it implemented properly. There are more people wanting to pay for features implemented. And I'm sure there are developers that would like to do it when being paid.

Norbert
 
> 
> 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