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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
How do we specify order by with Jenny?
Avoiding regular expression in XML Schema
No databinding in JAX-WS - wsimport
Invalid number specified in a numeric field
Can the path of lo4j properties file be relative to classpath?