The moose likes JDBC and the fly likes securing a jdbc connection using ssl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "securing a jdbc connection using ssl" Watch "securing a jdbc connection using ssl" New topic

securing a jdbc connection using ssl

Pankaj Mishra
Ranch Hand

Joined: Nov 01, 2004
Posts: 31
Hi Friends,

I have to secure my jdbc connection using SSL.I haven't done this before.
Pls tell exactly what(changes in the normal jdbc code, configuration etc) needs to be done at
both client and server side.

I have to secure the connection for both Oracle and PeopleSoft.

Can I use any JDBC driver or some specific driver needs to be used ?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41051
SSL is not a standard JDBC feature. Some drivers/databases support it, some don't, some support other means of encrypting a connection - check the documentation of the driver you use.

I'll move the thread to the JDBC forum. Please find it there and continue the discussion.

Ping & DNS - my free Android networking tools app
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8903

There is some discussion here for Oracle database.. hope it is udeful

wood burning stoves
subject: securing a jdbc connection using ssl
Similar Threads
Connecting to multiple databases using different jdbc drivers
DSN connection
Query in JDBC connection
java application MS Access
Opinions - Singleton or Connection Pool?