0
votes

I would like to use the TLS1.2 while connecting to database. I am using odbc8.jar My current url is of the format: jdbc:oracle:thin:@host:port/servicename

I am not having an oracle installed and I dont have the tnsnames.ora I just have the thin client. So I am not able to use this

jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=IP)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=testdb)))

I am looking to add TLS1.2 to the shorter url above. Any ideas?

1

1 Answers

0
votes

What is the JDBC driver that you are using? Check out the SSL blog for more details