Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • I ipc
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • atlas-tdaq-softwareatlas-tdaq-software
  • ipc
  • Merge requests
  • !5

Install a custom SSL context

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Reiner Hauser requested to merge rhauser/ipc:ssl-context into master Jan 15, 2022
  • Overview 47
  • Commits 16
  • Pipelines 0
  • Changes 7

In a global constructor install a custom SSL context. By default it falls back to the standard omni behaviour. If TDAQ_IPC_SSL_SERVER=1 it generates and self-signs its own certificate and put it into the SSL_CTX context.

In addition is sets ORBendPoint=giop:ssl:: in the environment if the variable is not already set.

Setting this variable is the only things that needs to be done on the server side.

Nothing needs to be done on the client side, since the verifyMode is set to 'none', ie. it will accept self signed certificates.

This means the SSL connection cannot be used for authentication, but this would be basically impossible anyway in our system (more on the Jira ticket).

The connection is still encrypted. Due to the non-authentication is is susceptible to man-in-the-middle attacks, but we actually need that possibility because that's exactly what the IPCGatewayProxy does...

Also adding @avolio

Edited Feb 28, 2022 by Reiner Hauser
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ssl-context