oracle-r2dbc icon indicating copy to clipboard operation
oracle-r2dbc copied to clipboard

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

Open amayne44 opened this issue 5 months ago • 0 comments

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")
    )
)

amayne44 avatar Jul 22 '25 02:07 amayne44