最近,我尝试使用OpenDDS 3.13安全性。
我还遵循了OpenDDS安全手册以及制作和构建项目。
像这样配置命令:

$./configure --security --xerces --openssl && make

Bulid使项目成功,但是当我运行位于DDS_ROOT / tests / DCPS / Messenger的示例时遇到了麻烦。

我得到以下输出:
$./publisher -DCPSConfigFile rtps_uni.ini
Starting publisher
Starting publisher with 1 args
(26771|139728132269888) ERROR: DomainParticipantImpl::enable, Unable to validate local identity. SecurityException[-1.0]: GUID_UNKNOWN passed in for candidate_participant_guid
(26771|139728132269888) ERROR: DomainParticipantFactoryImpl::create_participant, unable to enable DomainParticipant.
publisher.cpp:103: main() ERROR: create_participant failed!

请问如何解决此问题的一些指示?

最佳答案

辛普森先生回答了我的问题,他说使用rtps_disc_sec.ini代替rtps_uni.ini
来源在这里:
https://github.com/objectcomputing/OpenDDS/issues/934

10-08 17:46