Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

TrustStoreType property overrides value of KeyStoreType property #562

@hhund

Description

@hhund

The SSLContextBuilder#setKeyStoreType method is called twice, with the KeyStoreType property and with the TrustStoreType property. The later overriding the value of the former, if both are defined. FYI: The SSLContextBuilder class does not have an equivalent setTrustStoreType method.

if (properties.getKeyStoreType() != null) {
builder.setKeyStoreType(properties.getKeyStoreType());
}

if (properties.getTrustStoreType() != null) {
builder.setKeyStoreType(properties.getTrustStoreType());
}

Metadata

Metadata

Assignees

No one assigned

    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