如何使用 OpenDDS 3.13 安全
How to use OpenDDS 3.13 Security
最近尝试使用OpenDDS 3.13 Security。
我还遵循了 OpenDDS 安全手册并制作和构建项目。
像这样配置命令:
$./configure --security --xerces --openssl && make
构建并使项目成功,但是当我 运行 位于 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!
我能得到一些关于如何解决这个问题的指导吗?
Mr.Simpson回复我的问题,他说用
rtps_disc_sec.ini
而不是 rtps_uni.ini
来源在这里:
https://github.com/objectcomputing/OpenDDS/issues/934
最近尝试使用OpenDDS 3.13 Security。 我还遵循了 OpenDDS 安全手册并制作和构建项目。 像这样配置命令:
$./configure --security --xerces --openssl && make
构建并使项目成功,但是当我 运行 位于 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!
我能得到一些关于如何解决这个问题的指导吗?
Mr.Simpson回复我的问题,他说用
rtps_disc_sec.ini
而不是 rtps_uni.ini
来源在这里: https://github.com/objectcomputing/OpenDDS/issues/934