We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I tried to invoke UA_CreateCertificate() method from a broker(Java code), I was getting error: "Create Certificate: Setting publik key failed."
When I commented following code in file /plugins/crypto/openssl/ua_openssl_create_certificate.c, it worked fine:
What can be reason for this and is it fine to comment that part of code?
Used CMake options:
cmake .. -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DUA_BUILD_EXAMPLES=ON -DUA_ENABLE_PUBSUB=ON -DUA_ENABLE_PUBSUB_MQTT=OFF -DUA_ENABLE_JSON_ENCODING=ON -DUA_ENABLE_DEBUG_SANITIZER=OFF -DUA_ENABLE_DISCOVERY_SEMAPHORE=OFF -DUA_ENABLE_HARDENING=OFF -DUA_ENABLE_NODEMANAGEMENT=OFF -DUA_ENABLE_NODESET_COMPILER_DESCRIPTIONS=OFF -DUA_ENABLE_PARSING=OFF -DUA_ENABLE_PUBSUB_DELTAFRAMES=OFF -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=ON -DUA_ENABLE_PUBSUB_INFORMATIONMODEL_METHODS=OFF -DUA_ENABLE_STATUSCODE_DESCRIPTIONS=OFF -DUA_ENABLE_SUBSCRIPTIONS=OFF -DUA_ENABLE_SUBSCRIPTIONS_EVENTS=OFF -DUA_ENABLE_TYPEDESCRIPTION=ON -DUA_FORCE_WERROR=OFF -DUA_MSVC_FORCE_STATIC_CRT=OFF -DUA_ENABLE_ENCRYPTION_TPM2=OFF -DUA_LOGLEVEL=100 -DUA_ENABLE_ENCRYPTION=MBEDTLS -DUA_ENABLE_PUBSUB_ENCRYPTION=ON -DMBEDTLS_INCLUDE_DIRS="/usr/include/mbedtls" -DMBEDTLS_LIBRARY="/usr/lib/x86_64-linux-gnu/libmbedtls.so.14" -DMBEDX509_LIBRARY="/usr/lib/x86_64-linux-gnu/libmbedx509.so.1" -DMBEDCRYPTO_LIBRARY="/usr/lib/x86_64-linux-gnu/libmbedcrypto.so.7" -DUA_ENABLE_ENCRYPTION=OPENSSL
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Hi @jpfr, Any updates on this issue?
No branches or pull requests
Description
When I tried to invoke UA_CreateCertificate() method from a broker(Java code),

I was getting error: "Create Certificate: Setting publik key failed."
When I commented following code in file /plugins/crypto/openssl/ua_openssl_create_certificate.c, it worked fine:

What can be reason for this and is it fine to comment that part of code?
Used CMake options:
cmake .. -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DUA_BUILD_EXAMPLES=ON -DUA_ENABLE_PUBSUB=ON -DUA_ENABLE_PUBSUB_MQTT=OFF -DUA_ENABLE_JSON_ENCODING=ON -DUA_ENABLE_DEBUG_SANITIZER=OFF -DUA_ENABLE_DISCOVERY_SEMAPHORE=OFF -DUA_ENABLE_HARDENING=OFF -DUA_ENABLE_NODEMANAGEMENT=OFF -DUA_ENABLE_NODESET_COMPILER_DESCRIPTIONS=OFF -DUA_ENABLE_PARSING=OFF -DUA_ENABLE_PUBSUB_DELTAFRAMES=OFF -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=ON -DUA_ENABLE_PUBSUB_INFORMATIONMODEL_METHODS=OFF -DUA_ENABLE_STATUSCODE_DESCRIPTIONS=OFF -DUA_ENABLE_SUBSCRIPTIONS=OFF -DUA_ENABLE_SUBSCRIPTIONS_EVENTS=OFF -DUA_ENABLE_TYPEDESCRIPTION=ON -DUA_FORCE_WERROR=OFF -DUA_MSVC_FORCE_STATIC_CRT=OFF -DUA_ENABLE_ENCRYPTION_TPM2=OFF -DUA_LOGLEVEL=100 -DUA_ENABLE_ENCRYPTION=MBEDTLS -DUA_ENABLE_PUBSUB_ENCRYPTION=ON -DMBEDTLS_INCLUDE_DIRS="/usr/include/mbedtls" -DMBEDTLS_LIBRARY="/usr/lib/x86_64-linux-gnu/libmbedtls.so.14" -DMBEDX509_LIBRARY="/usr/lib/x86_64-linux-gnu/libmbedx509.so.1" -DMBEDCRYPTO_LIBRARY="/usr/lib/x86_64-linux-gnu/libmbedcrypto.so.7" -DUA_ENABLE_ENCRYPTION=OPENSSL
Checklist
The text was updated successfully, but these errors were encountered: