Skip to content

Enable IPC internal TLS initialization by default

Reiner Hauser requested to merge rhauser/ipc:tls-refs into master

This MR contains two small changes:

  • Initialize the IPC internal TLS mechanism by default, unless disabled by the TLS_IPC_ENABLE_TLS=0 environment variable setting. This avoids having a to define environment variables to what should be the default. To make an application actually use TLS still needs the proper endPoint and endPointPublish settings. Note the nightly release has been running with the TLS_IPC_ENABLE_TLS=1 setting since many months.
  • Add a flag (for C++) or an overloaded function (for Java) to ipc::utils::createReference() to create a TLS reference (ssliop: instead of iiop:). This is needed for an upcoming MR to the process manager since that constructs IORs manually in the case when the port number is fixed via a configuration file. Calling the function the old way should be completely backward compatible and transparent for clients.

@avolio , @kolos

Merge request reports

Loading