Skip to content

rely on java sdk supplied capella cert instead of InsecureTrustManagerFactory #1391

Closed
@mikereiche

Description

@mikereiche
protected void configureEnvironment(ClusterEnvironment.Builder builder) {
    if (config().isUsingCloud()) {
            builder.securityConfig(						 
                SecurityConfig.builder().trustManagerFactory(InsecureTrustManagerFactory.INSTANCE).enableTls(true));
    }
}

ddfbc1f

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions