代码之家  ›  专栏  ›  技术社区  ›  DONG-JIN LEE

如何使用opendds3.13安全性

  •  1
  • DONG-JIN LEE  · 技术社区  · 6 年前

    我还遵循了OpenDDS安全手册和make-and-build项目。

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

    Bulid并使项目成功,但是当我运行位于DDS\u 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!
    

    请告诉我如何解决这个问题好吗?

    1 回复  |  直到 6 年前
        1
  •  1
  •   DONG-JIN LEE    6 年前

    辛普森先生回答我的问题,他说用 rtps_disc_sec.ini 而不是 rtps_uni.ini

    来源如下: https://github.com/objectcomputing/OpenDDS/issues/934

    推荐文章