From what I recall, this likely has to with ruby generally and a lack of OpenSSL3 support. I do know fixes are finished/being worked on. I’m assuming you are on Kali? I don’t use Kali personally, but apparently running a full upgrade helped out some people. That’s probably what I would try first.
Tips to fix-
Make sure you have SSL installed.
Reinstall the SSL.
Diagnose the problem with a web SSL checker.
Renew your SSL certificate.
Change all URLs to HTTPS.
Update your browser or OS version.
Install an intermediate certificate.
Generate a new Certificate Signing Request