Skip to content

Conversation

@tvernum
Copy link
Contributor

@tvernum tvernum commented Apr 27, 2021

This remove the SSL configuration code from x-pack, and instead uses libs/ssl-config

This requires is quite a substantial set of changes, so I intend to split it into separate PRs. This draft PR is for tracking the outstanding code to merge.

Resolves: #68719

@tvernum tvernum added :Security/TLS SSL/TLS, Certificates v8.0.0 labels Apr 27, 2021
@tvernum tvernum added the :Security/FIPS Running ES in FIPS 140-2 mode label Jun 4, 2021
tvernum added 7 commits June 7, 2021 14:23
# Conflicts:
#	x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationReloader.java
Some security providers (specifically BC) will return an empty
certifiacte collection when reading an empty file.
This leads to different exception handling, but it would be preferable
to have as much commonality as possible
@tvernum tvernum force-pushed the merge-ssl-config branch from c8ee5fb to 4e208a7 Compare July 16, 2021 07:23
tvernum added 4 commits July 30, 2021 14:54
# Conflicts:
#	x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertParsingUtils.java
#	x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/PEMKeyConfig.java
#	x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationReloaderTests.java
#	x-pack/plugin/security/cli/src/test/java/org/elasticsearch/xpack/security/cli/PemToKeystore.java
#	x-pack/plugin/security/src/internalClusterTest/java/org/elasticsearch/xpack/security/authc/pki/PkiAuthenticationTests.java
#	x-pack/plugin/security/src/internalClusterTest/java/org/elasticsearch/xpack/ssl/SslClientAuthenticationTests.java
#	x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlMetadataCommandTests.java
#	x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlTestCase.java
#	x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/ssl/SSLErrorMessageFileTests.java
@tvernum tvernum closed this Sep 22, 2021
@tvernum tvernum deleted the merge-ssl-config branch September 23, 2021 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Security/FIPS Running ES in FIPS 140-2 mode :Security/TLS SSL/TLS, Certificates v8.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Merge X-Pack SSL config with libs/ssl-config

2 participants