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

TrustStoreType property overrides value of KeyStoreType property #562

Open
@hhund

Description

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

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