Skip to content

Conversation

breskeby
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

- Adds docker image based on chainguard base fips image
- x86 only for now as the base image is x86 only
- the image does not provide any elasticsearch.yml configuration. for testing purposes you can follow the elasticsearch fips guide available at https://github.com/elastic/FIPSGuide/tree/main/elasticsearch

The image is shipped with:
- org.bouncycastle:bc-fips:1.0.2.5 and org.bouncycastle:bctls-fips:1.0.19 in Elasticsearch libs folder
- config/jvm.options.d/fips.options for fips specific JVM options
- fips_java.security file
- fips_java.policy

Out of scope:
- Add packaging test coverage (part of later PR as we want to provide that image for testing early and packaging tests require more general restructuring for support fips scenarios)

(cherry picked from commit 653c179)

# Conflicts:
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/distribution/InternalElasticsearchDistributionTypes.java
#	distribution/docker/build.gradle
#	distribution/docker/src/docker/Dockerfile
@breskeby breskeby force-pushed the backport/8.x/pr-117152 branch from 53488fe to 6f6524f Compare March 27, 2025 08:51
reported as broken due to issue in gradle setup
@breskeby breskeby added the :Security/FIPS Running ES in FIPS 140-2 mode label Mar 27, 2025
@breskeby breskeby merged commit ce367e9 into elastic:8.x Mar 27, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Security/FIPS Running ES in FIPS 140-2 mode v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants