Skip to content

How to configure multiple security cert CN in r2dbc descritptor with failover=ON #175

@amayne44

Description

@amayne44

I've got a descriptor that looks like this

(DESCRIPTION=
  (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=TCP)(HOST=host1)(PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=host2)(PORT=1522))
  )
  (FAILOVER=ON)
  (LOAD_BALANCE=OFF)
  (CONNECT_DATA=
    (SERVER=DEDICATED)
    (SERVICE_NAME=db1)
  )
)

I would like to add SSL_SERVER_CERT_DN for both host1 and host2. I believe I cannot configure it under each address and has to be like this:

(DESCRIPTION=
  (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=TCP)(HOST=host1)(PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=host2)(PORT=1522))
  )
  (FAILOVER=ON)
  (LOAD_BALANCE=OFF)
  (CONNECT_DATA=
    (SERVER=DEDICATED)
    (SERVICE_NAME=db1)
  )
 (SECURITY=
      (SSL_SERVER_CERT_DN="CN=host1")
    )
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions