forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
6 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,8 +113,8 @@ dependencies { | |
filebeat_x86_64 "beats:filebeat:${VersionProperties.elasticsearch}:[email protected]" | ||
metricbeat_aarch64 "beats:metricbeat:${VersionProperties.elasticsearch}:[email protected]" | ||
metricbeat_x86_64 "beats:metricbeat:${VersionProperties.elasticsearch}:[email protected]" | ||
fips "org.bouncycastle:bctls-fips:1.0.17" | ||
fips "org.bouncycastle:bc-fips:1.0.2.4" | ||
fips "org.bouncycastle:bctls-fips:1.0.19" | ||
fips "org.bouncycastle:bc-fips:1.0.2.5" | ||
} | ||
|
||
ext.expansions = { Architecture architecture, DockerBase base -> | ||
|
@@ -570,19 +570,17 @@ void addBuildCloudDockerImageTasks(Architecture architecture) { | |
} | ||
|
||
// fips | ||
//String javaSecurityFilename = buildParams.runtimeJavaDetails.get().toLowerCase().contains('oracle') ? 'fips_java_oracle.security' : 'fips_java.security' | ||
String javaSecurityFilename = 'fips_java.security' | ||
String javaSecurityFilename = buildParams.runtimeJavaDetails.get().toLowerCase().contains('oracle') ? 'fips_java_oracle.security' : 'fips_java.security' | ||
//String javaSecurityFilename = 'fips_java.security' | ||
File fipsResourcesDir = new File(project.buildDir, 'fips-resources') | ||
File fipsSecurity = new File(fipsResourcesDir, javaSecurityFilename) | ||
File fipsPolicy = new File(fipsResourcesDir, 'fips_java.policy') | ||
//File fipsTrustStore = new File(fipsResourcesDir, 'cacerts.bcfks') | ||
|
||
TaskProvider<ExportElasticsearchBuildResourcesTask> fipsResourcesTask = tasks.register('fipsResources', ExportElasticsearchBuildResourcesTask) | ||
fipsResourcesTask.configure { | ||
outputDir = fipsResourcesDir | ||
copy javaSecurityFilename | ||
copy 'fips_java.policy' | ||
// copy 'cacerts.bcfks' | ||
} | ||
|
||
for (final Architecture architecture : Architecture.values()) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
cluster.name: "docker-cluster" | ||
network.host: 0.0.0.0 | ||
#xpack.security.fips_mode.enabled: true | ||
#xpack.security.autoconfiguration.enabled: false | ||
## xpack.security.fips_mode.required_providers: ["BCFIPS"] | ||
#xpack.security.fips_mode.required_providers: ["BCFIPS", "BCJSSE"] | ||
#xpack.security.authc.password_hashing.algorithm: "pbkdf2_stretch" | ||
## xpack.security.transport.ssl.enabled: true |