AnyEvent::TLS

Maxime Soulé btik-cpan at scoubidou.com
Wed Dec 11 10:23:09 CET 2013


Hello,

Yes it work with [ 0, 0, 2 ] :)

Thanks a lot!

Best regards,

Max.

Le 10.12.2013 20:40, Marc Lehmann a écrit :
> On Wed, Nov 20, 2013 at 12:19:48PM +0100, Maxime Soulé <btik-cpan at scoubidou.com> wrote:
>> It seems that the AnyEvent::TLS option:
>>
>>     verify_peername => [ 2, 0, 0 ]
>>
>> does not work, at least for a certification that only define
>> commonName and no subjectAltNames.
>
> Hi, sorry for only looking at this now.
>
> It seems the documentation is wrong, it should be:
>
>     [$cn_wildcards, $alt_wildcards, $check_cn]
>
> So the above code should actually be:
>
>      verify_peername => [ 0, 0, 2 ]
>
> Does that solve the problem for you?
>
> The next release will have documentation fixed, of course.
>



More information about the anyevent mailing list