openssl: check for conf file

Closes #34728.
Oh, what Mike said earlier on this might help here:

```
nothing should be installed into HOMEBREW_PREFIX/etc directly (rather than being later copied or symlinked) or it won’t work
```