Search code examples
httpsapache-nifiapache-minifi

MINIFI CPP cannot call HTTPS


I try to execute a simple flow with a MINFI CPP.

For now i create a random number and try to push this to a rest-api with invokehttp

in nifi it works perfectly, but in minifi it gives me the following error:

[class org::apache::nifi::minifi::utils::HTTPClient] [error] curl_easy_perform() failed Unsupported protocol on https://.......

what do i miss? any hints?

thanks

stefan


Solution

  • Could you share what minifi-cpp version you are using? Is it a released binary or did you build it yourself? If you built it yourself, with what options? What platform do you use?

    HTTPS support in minifi-cpp depends on how libcURL gets built: it can either be a system dependency, in which case HTTPS support depends on the system's libcURL, or it can be built-in, in which case OpenSSL support must be enabled (not disabled with OPENSSL_OFF and openssl-dev packages installed or the built-in OpenSSL enabled with USE_SYSTEM_OPENSSL=OFF).

    The released 0.6.0 versions should support HTTPS on Linuxes, but I recall the Windows build having some problems with it.