Cannot start client without Crypto enabled

Questions regarding the use of the High Perfomance SDK for Server development

Moderator: uasdkhpc

Post Reply
fczech
Full Member
Full Member
Posts: 6
Joined: 19 Feb 2018, 11:52

Cannot start client without Crypto enabled

Post by fczech »

Hi,

Im trying to run the client_gettingstarted - lesson01 example from the OPC UA High performance demo sdk.

When I try to start the application without any modification, it tries to load the config with security enabled.
After removing the HAVE_CRYPTO and the HAVE_PKI from include/platform/platform_config.h the example uses the settings-nosec.conf
But now the application faills with the following error message:
E|12:01:40.269210|23369| uaapplication_open_pki_store: ERROR 1 configured pki store required.
E|12:01:40.269288|23369| uaapplication_init: uaapplication_open_pki_store failed
Is there anything I've missed?
If I'm disabling BUILD_LIBUAPKISTORE, I'm getting multiple error messages with undefined reference to 'pki_store....' while running make.

Regards,
Fabian

fczech
Full Member
Full Member
Posts: 6
Joined: 19 Feb 2018, 11:52

Re: Cannot start client without Crypto enabled

Post by fczech »

Ok, this was an error in the settings-nosec.conf.
After adding the following lines to the configuration file, I'm able to start the application.

Code: Select all

pkistores/size = 1
pkistores/0/config = "pki_store_0;5;5;5;5"

Post Reply