jQuery in Action, 2nd edition*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Specify SSL Context to DriverManager while getting SQL connection