Skip Menu |

This queue is for tickets about the Net-SSL-ExpireDate CPAN distribution.

Report information
The Basics
Id: 118163
Status: resolved
Priority: 0/
Queue: Net-SSL-ExpireDate

People
Owner: Nobody in particular
Requestors: cpan [...] mscha.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.19



Subject: "cannot read type" when checking certain sites
Date: Fri, 30 Sep 2016 13:19:55 +0200
To: bug-net-ssl-expiredate [...] rt.cpan.org
From: Michael Schaap <cpan [...] mscha.org>
#!/usr/bin/env perl use 5.020; use strict; use warnings; use Net::SSL::ExpireDate; my $ed = Net::SSL::ExpireDate->new(https=>'www.libris.nl'); if ($ed->expire_date) { say $ed->expire_date; } else { say "Error!"; } # # Expected behaviour: prints expiration date of https://www.libris.nl/ certificate # # Actual behaviour: prints # cannot read type at ./net-ssl-expiredate-bug line 10. # Error! # # Perl 5.24.0 # Net::SSL::ExpireDate 1.17 #
Thank you for your reporting. Quick workaround: I've found it works by changing ClientHello version TLS 1.2 (3.3) to TLS 1.1 (3.2). https://gist.github.com/hirose31/c524ad3606a3b1570728f2506c427a1d
I've fixed in v1.19.