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
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Specify SSL Context to DriverManager while getting SQL connection
 
Similar Threads
How do we specify order by with Jenny?
Invalid number specified in a numeric field
Can the path of lo4j properties file be relative to classpath?
No databinding in JAX-WS - wsimport
Avoiding regular expression in XML Schema