JDBC connection to Oracle database using TLS certificate

I am trying to write a connection class in java to connect to an oracle database using jdbc drivers, but I want to protect parameters like jdbcurl / username / password that is used to connect to oracle database.

I need to use the TLS certificate concept to connect to the oracle database in java. I tried to find a working example, but could not find it.

Can someone give me an idea on how to implement this, and later I have to add the concept of the connection pool to it too.

Thanks in advance

+3
source share
1 answer

See the white paper below for more details.

URL- JDBC tcps SSL JDBC.

, URL- SSL:

jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=servername
     )(PORT=2484))(CONNECT_DATA=(SERVICE_NAME=servicename))) 

, TLS oracle. , SSL Oracle JDBC Thin Driver.

, , ..

+6

All Articles