• Post Reply Bookmark Topic Watch Topic
  • New Topic

Specify SSL Context to DriverManager while getting SQL connection

 
Yogesh Dubey
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on your database driver I think. Check the docs.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!