When I run brew doctor in Terminal: I get the following error:
Warning: Some keg-only formula are linked into the Cellar. You may wish
or DO "which openssl" copy from that location to "/usr/local/opt/openssl/bin/openssl" . then try. thing is "/usr/local/opt/openssl/bin/openssl" have old or corrupted certificate.