aspose file tools*
The moose likes JDBC and the fly likes Specify SSL Context to DriverManager while getting SQL connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Specify SSL Context to DriverManager while getting SQL connection" Watch "Specify SSL Context to DriverManager while getting SQL connection" New topic
Author

Specify SSL Context to DriverManager while getting SQL connection

Yogesh Dubey
Greenhorn

Joined: Sep 02, 2008
Posts: 2
Is there a way to specify the SSLContext for JDBC?
I don't want to do System.setProperty() for specifying my certificates.

Is there an alternate way of doing this?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Depends on your database driver I think. Check the docs.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
wood burning stoves
 
subject: Specify SSL Context to DriverManager while getting SQL connection