File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 42965
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.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

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

I agree. Here's the link:
subject: securing a jdbc connection using ssl
It's not a secret anymore!