[Fips] Explicitly set trustStoreType to BCFKS in FIPS docker image (#129385)

We see an certificate issue when using fips docker image creating searchable snapshots in aws
and gcs. This is likely related to a configuration issue not explicitly setting the trust store
type for our bcfks cacerts
This commit is contained in:
Rene Groeschke 2025-06-13 17:01:11 +02:00 committed by GitHub
parent 4daf983ea9
commit 5836dd3b39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -172,8 +172,10 @@ RUN cat <<EOF > /usr/share/elasticsearch/config/jvm.options.d/fips.options
-Dorg.bouncycastle.fips.approved_only=true
-Djava.security.properties=config/fips_java.security
-Djava.security.policy=config/fips_java.policy
-Djavax.net.ssl.trustStoreType=BCFKS
-Djavax.net.ssl.trustStore=config/cacerts.bcfks
-Djavax.net.ssl.trustStorePassword=passwordcacert
EOF
EXPOSE 9200 9300