fhir-bridge icon indicating copy to clipboard operation
fhir-bridge copied to clipboard

TrustStoreType property overrides value of KeyStoreType property

Open hhund opened this issue 3 years ago • 0 comments

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.

https://github.com/ehrbase/fhir-bridge/blob/3260bf990bccf4c643beda1a8c6d229e69f9ddc8/src/main/java/org/ehrbase/fhirbridge/config/HttpClientConfiguration.java#L49-L51

https://github.com/ehrbase/fhir-bridge/blob/3260bf990bccf4c643beda1a8c6d229e69f9ddc8/src/main/java/org/ehrbase/fhirbridge/config/HttpClientConfiguration.java#L56-L58

hhund avatar Jun 17 '22 15:06 hhund