mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-27 17:10:22 -04:00
[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:
parent
4daf983ea9
commit
5836dd3b39
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue