i met the same error message on my Local app.
But i’m pretty sure that i’m using open SSL.
That’s what "php -i | grep “SSL Version” say :
SSL Version => (SecureTransport) OpenSSL/1.1.1l
I’m on MacOSMonterey (12.0.1) and i’ve no more ideas of what fails.