Closed kensanata closed 1 year ago
The code should have not worked before either. For one, your server does not even request a client certificate (no SSL_verify_peer
set). And then it just assumed in IO::Socket::SSL::get_fingerprint_bin that it will have a certificate, thus crashing if no certificate was there. This is fixed in ea04d0e.
Thanks. Of course this code does not reflect my application – it's just the bare minimum I needed to trigger the segfault.
Possibly a Net::SSLeay problem? After upgrading my machine to Debian 12, some code of mine started crashing when I called get_fingerprint on a handle where there is no client certificate.
This assumes self-signed
cert.pem
andkey.pem
files in the same directory.Connect:
Type "OK" or whatever and hit Enter.
The server quits with:
I have:
#1
SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux