Closed pghmcfc closed 8 years ago
That's actually not a bug in IO::Socket::SSL, but in recent Net::SSLeay (version 1.75+):
# Net::SSLeay version=1.77
The problem is known and a fix will probably be in a short time. If you need it faster you can take a patch from the bug report: https://rt.cpan.org/Public/Bug/Display.html?id=116795.
This problem (OCSP does not work) exists also with older versions of IO::Socket::SSL when used with a newer Net::SSLeay. It's only that the test does not fail because it assumes SSL interception because of certificate mismatch and thus skips the test. 2.035 fixed the expected fingerprints of the certificates so that the tests get not skipped any longer and thus they can fail.
FWIW, I'm seeing this same test failure with Net::SSLeay 1.78 when trying to install IO::Socket::SSL 2.037.
I cannot reproduce your problem. Please add the following information so I can try to narrow down the problem and maybe reproduce it:
perl -V
perl -Mblib -MIO::Socket::SSL=debug4 t/external/ocsp.t
That's on Fedora Rawhide and I get the same result on the much-older CentOS 6.