Properly fix OpenSSL for certificate handling