Added logic to check for intermediate/openssl.cnf when creating an intermediate CA