[squeak-dev] SqueakSSL + SAN certificates
Das.Linux at gmx.de
Thu May 28 14:50:01 UTC 2015
On 28.05.2015, at 16:34, Levente Uzonyi <leves at elte.hu> wrote:
> On Thu, 28 May 2015, Tobias Pape wrote:
>> On 28.05.2015, at 01:58, David T. Lewis <lewis at mail.msen.com> wrote:
>>> Is there any reason *not* to move SqueakSSL-Core-ul.30 from inbox to
>>> trunk? I know that we are finalizing a release, and also that there
>>> has been some follow up discussion about parsing certificates in the
>>> image, but SqueakSSL-Core-ul.30 seems like a harmless and beneficial
>>> update. So unless there are objections, I would vote to move it to
>>> trunk now.
>> Yes, the code does not handle non-SAN-aware plugin-versions.
> "The image side code is in the Inbox. It is backwards compatible -- everything works as before without the VM changes."
> Did you experience any problems with backwards compatibility?
Actually I only read the code. Sorry.
I just saw that subjectAltNameDNS will hand through the primitiveFailed
if used on a plugin that does not have SQSSL_PROP_SUBJECTALTNAMEDNS.
Verifcation is not fully done yet on OSX anyway…
And the more I read the C code and the Smalltalk code, I'd really like to
not change the Smalltalk side.
The point of both SNI and sAN are that you want that the server name you
called to is validated. One is on the protocol level one is on the ceritificate
level. Both Windows Schannel and OS X Secure Transport abstract that away.
And I think it is easily possible to do that with openssl as well by
just traversing all sANs and setting the same validity information as with
That way we also don't need to pass a specially formatted string to
the image. I find that odd, a bit.
On a different note, providing Certificate information to the image is probably
still a good idea but I don't think we should do sAN that way.
>> We have no code for OSX/Windows yet and no VM ships with
>> a compatible plugin whatsoever. I'd like to postpone this one until
>> we have
>> a) covered all 3 platforms and
>> b) have at least one binary somewhere.
>> Best regards
>>> On Tue, May 26, 2015 at 11:55:42PM +0200, Levente Uzonyi wrote:
>>>> Hi All,
>>>> I've implemented support for reading the domain names from the
>>>> certificate's SAN extension in SqueakSSL.
>>>> The image side code is in the Inbox. It is backwards compatible --
>>>> everything works as before without the VM changes.
>>>> I've also uploaded the modified files for the unix platform, and a
>>>> diff (which somehow doesn't include the changes of the .h file).
>>>> The VM support code for other platforms are to be done.
>>>> These changes fix the failing SqueakSSL test in the Trunk, so I suggest
>>>> including the .mcz file in the 4.6 release.
>>>>  https://en.wikipedia.org/wiki/SubjectAltName
>>>>  http://leves.web.elte.hu/squeak/SqueakSSL/SqueakSSL.h
>>>>  http://leves.web.elte.hu/squeak/SqueakSSL/sqUnixOpenSSL.c
>>>>  http://leves.web.elte.hu/squeak/SqueakSSL/diff.txt
More information about the Squeak-dev