openssl: check for conf file

Closes #34728.