-------- Original Message --------
Ah, 7.7.1 has a nasty habit of not supporting wildcard certificates and
no way of passing a validation block to achieve it, something that is
addressed in 7.8, so try the below in 7.7.1 instead,
Parcel loadParcelByName: 'HTTPS'.
bundle := CertificateFileReader new readFrom: 'trusted-certs.crt'
asFilename contentsOfEntireFile readStream.
X509Registry trustedCertificates addAll: bundle.
Net.SSLConnection compile: 'validationBlock
^validationBlock isNil
ifTrue: [[:dnd | (dnd at: ''CN'') match: hostName]]
ifFalse: [validationBlock]'.
HttpClient get: 'https://api.dropbox.com'.
-Boris
-----Original Message-----
From: C. David Shaffer [[hidden email]]
Sent: Friday, June 08, 2012 3:27 PM
To: Boris Popov, DeepCove Labs
Subject: Re: [vwnc] SSL validation failures
On 06/08/12 14:55, Boris Popov, DeepCove Labs wrote:
> David,
>
> In clean 7.8 visual.im things seem to work as expected, make sure you
> hadn't changed #defaultValidationBlockFactory (see its chain) somehow?
>
Thanks, that makes me feel better. I don't see any implementers of
defaultValidationBlockFactory. I tried a fresh 7.7.1 image and your
code block failed with the same walkback. Maybe this was something
fixed in VW7.8?
David
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc