Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sleuthkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Sleuthkit
Commits
189e16e5
Commit
189e16e5
authored
1 year ago
by
eugene.livis
Browse files
Options
Downloads
Patches
Plain Diff
Documentation
parent
511e96ca
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bindings/java/src/org/sleuthkit/datamodel/CaseDatabaseFactory.java
+3
-3
3 additions, 3 deletions
...java/src/org/sleuthkit/datamodel/CaseDatabaseFactory.java
with
3 additions
and
3 deletions
bindings/java/src/org/sleuthkit/datamodel/CaseDatabaseFactory.java
+
3
−
3
View file @
189e16e5
...
...
@@ -47,7 +47,7 @@ class CaseDatabaseFactory {
final
static
String
SSL_NONVERIFY_URL
=
"?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory&sslmode=require"
;
// ssl=true: enables SSL encryption.
// DefaultJavaSSLFactory: uses
Java
's default
trust
store to validate server certificate.
// DefaultJavaSSLFactory: uses
application
's default
JRE key
store to validate server certificate.
// sslmode=verify-ca: verifies that the server we are connecting to is trusted by CA.
final
static
String
SSL_VERIFY_DEFAULT_URL
=
"?ssl=true&sslfactory=org.postgresql.ssl.DefaultJavaSSLFactory&sslmode=verify-ca"
;
...
...
@@ -57,8 +57,8 @@ class CaseDatabaseFactory {
* SSL certificate validation must extend org.postgresql.ssl.WrappedFactory
* and generally must follow the same logic.
*
* ssl=true: enables SSL encryption.
sslmode=verify-ca: verifies that the
* server we are connecting to is trusted by CA.
* ssl=true: enables SSL encryption.
*
sslmode=verify-ca: verifies that the
server we are connecting to is trusted by CA.
*
* @param customSslValidationClassName full canonical name of a Java class
* that performs custom SSL certificate
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment