Skip to content

Commit 6d3a88c

Browse files
authored
Merge pull request #253 from Nobu19800/feature/ssltransport
SSLTransportの修正
2 parents 3f895ad + 2608da8 commit 6d3a88c

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

OpenRTM_aist/ext/ssl/SSLTransport.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ def SSLTransportInit(manager):
2727
key_file_password = prop.getProperty("corba.ssl.key_file_password")
2828

2929
corba_args = prop.getProperty("corba.args")
30-
corba_args += " -ORBendPoint giop:ssl::"
30+
31+
if not ("giop:ssl" in corba_args):
32+
corba_args += " -ORBendPoint giop:ssl::"
33+
3134
if not OpenRTM_aist.toBool(prop.getProperty(
3235
"manager.is_master"), "YES", "NO", True):
3336
if not prop.getProperty("corba.endpoints"):

OpenRTM_aist/ext/ssl/rtc.ssl.conf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
logger.enable: YES
2+
logger.log_level: DEBUG
3+
#logger.file_name: stdout
4+
5+
manager.modules.load_path: ./
6+
manager.preload.modules: SSLTransport.py
7+
8+
corba.ssl.certificate_authority_file:test/root.crt
9+
corba.ssl.key_file:test/server.pem
10+
corba.ssl.key_file_password:password
11+
corba.args:-ORBserverTransportRule "* ssl" -ORBclientTransportRule "* ssl" -ORBendPoint giop:ssl::
12+
corba.nameservers: corbaloc:ssliop:127.0.0.1:2809
13+
corba.master_manager: giop:ssl:127.0.0.1:2810

0 commit comments

Comments
 (0)