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.
Refactor SSLConfigurationReloaderTests
Based on the changes to key and trust material reloading that were introduced in elastic#30509. DSA and EC keys are regenerated and the associated certificates are constructed with the correct SAN.
- Loading branch information
Showing
13 changed files
with
68 additions
and
50 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
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
22 changes: 11 additions & 11 deletions
22
...org/elasticsearch/xpack/security/transport/ssl/certs/simple/dsa_key_openssl_encrypted.pem
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,15 +1,15 @@ | ||
-----BEGIN DSA PRIVATE KEY----- | ||
Proc-Type: 4,ENCRYPTED | ||
DEK-Info: DES-EDE3-CBC,55FAF7DECF1C70AA | ||
DEK-Info: DES-EDE3-CBC,BE9A0B63873F6B7A | ||
|
||
sd+cOZKc6LLBYkJWviEn20PQKVAdgSDX+uMQK+D2hMZmbaNHj/Bw2CH23T+vsb24 | ||
FwbbTBXW05wixmrRLyVBkMuXPqsTKzwqCb5odt3kll/v0txoold6L/URO0v1OHyU | ||
m97t72qz0dumo+9Ch9qrPC+3LEzofv2bVKq38jziBdtYcYNKpBr8Qsxnf7X31H5j | ||
ErzzN/oDm8kFIihgPFmmorkCb2AXwnZP4NxeaH+Cc+p/QsmBrNHo0xcumHR4IEah | ||
GVN1TQQ31ujVAUaEyx+h5TsIO3AmdC71+2xn871HNs/A9zhqyNKUUAzMSoZ0Tlgh | ||
3knRLG/eVSvd3mYJV1xgpxU6afWWe+iI+TNaLl6NI9vp6msYUb4vIUR0DKO8b/to | ||
wJp6iziTRGwboQdNa9fFtm+cQIpEjL00ylS2h4X8olcsslivCW3vOxOoUJDG1BuS | ||
FPTOXTX+2dV98Q7E8ggNltS8XLYvjwpA383GQgJpIOySxXqBtsejN2cf4F7WTdIC | ||
Mbs8ikv2NDHjeFH7HiVcmp9/7REa8f8QYo1O/gzGgLmeVpvqSRtIpcg4u+JKig5k | ||
7x7Y6Oi22vRt9aGk/SjNPHX8hI+evHA6 | ||
lGSpJkwN0J9p+2Wm58706EYz6mmjgz7okjMtsR87GMIiK/wVwjKmyUa73QTVVs15 | ||
N/EOySftBk3VUSPx9G1ZMxKpp3l/hvkIcsDDfCPAZFqwdQQJ8BEeF9jDd5ZoI6Yz | ||
Yus1+X8A1OpX1O7PCZ08e2fLeVuEWg62/JQcNukuvL7AKm+qa1sda5/ktquv2eMZ | ||
nbTiOE3Xe+uDsgABQdy1h4EsMEaMdE6QrWdxLGWDGcdzSzfltvnhmmsK2CQsV4e1 | ||
huQeb8ylShJuIr+mgtKgUlIlJwSd7ka8hIdmGt1LO9+NZOPUGN04daQkETtfwsmu | ||
YIYkh66CuLbT4nZny64Spa7AeINSmf9GA72/QtRSo3M7Khlw/95Lz24iKAy7/Lbt | ||
AKYenSQeJtlNgWzPcDIeUrIzXXmAXHN5YGMg/7X0h7EGu5BxYbLydkBRvSkV9gzU | ||
Ms6JD5aON10DQhjIUwUcBnhSnwPPpIVa2xf9mqytkcg+zDgr57ygZ9n4D+iv4jiC | ||
ZJuFCFrgeqHrCEKRphWRckyhPo25ix9XXv7FmUw8jxb/3uTk93CS4Wv5LK4JkK6Z | ||
AyF99S2kDqsE1u71qHJU2w== | ||
-----END DSA PRIVATE KEY----- |
10 changes: 5 additions & 5 deletions
10
...ces/org/elasticsearch/xpack/security/transport/ssl/certs/simple/dsa_key_openssl_plain.pem
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,12 +1,12 @@ | ||
-----BEGIN DSA PRIVATE KEY----- | ||
MIIBvQIBAAKBgQD9f1OBHXUSKVLfSpwu7OTn9hG3UjzvRADDHj+AtlEmaUVdQCJR | ||
MIIBuwIBAAKBgQD9f1OBHXUSKVLfSpwu7OTn9hG3UjzvRADDHj+AtlEmaUVdQCJR | ||
+1k9jVj6v8X1ujD2y5tVbNeBO4AdNG/yZmC3a5lQpaSfn+gEexAiwk+7qdf+t8Yb | ||
+DtX58aophUPBPuD9tPFHsMCNVQTWhaRMvZ1864rYdcq7/IiAxmd0UgBxwIVAJdg | ||
UI8VIwvMspK5gqLrhAvwWBz1AoGBAPfhoIXWmz3ey7yrXDa4V7l5lK+7+jrqgvlX | ||
TAs9B4JnUVlXjrrUWU/mcQcQgYC0SRZxI+hMKBYTt88JMozIpuE8FnqLVHyNKOCj | ||
rh4rs6Z1kW6jfwv6ITVi8ftiegEkO8yk8b6oUZCJqIPf4VrlnwaSi2ZegHtVJWQB | ||
TDv+z0kqAoGBAN1rrhG0MVbuzsW8GiTF8x3/d5eOXG5cNKrpnaGoiDADy19AbzOj | ||
iXgJPP9tE7G04d4ovcHqqSF0dMCtaT1dPCCeJgMLnwnRqNptnMBhzUVYqwuQkS6S | ||
t2yH9wGuO9gJfptnevZpavj3kEexhc9nrTMtejNfbYZTEvejn63CXJToAhUAgEtK | ||
P4qNIE/UcQ5UamvodeHAP5U= | ||
TDv+z0kqAoGAd0xuuUUSAXsXaQ/dp9ThBTVzdVhGk6VAcWb403uMXUyXKsnCIAST | ||
m6bVWKjNxO1EsP3Slyd5CwbqIRUBK5NjzdQP/hHGtEIbqtYKY1VZI7T91Lk8/Dc/ | ||
p9Vgh27bPR8Yq8wPKU3EIJzYi0Nw8AxZf10yK+5tQ6pPUa3dH6lXt5oCFF1LyfuB | ||
qBYh7hyIsfkb+cZoQ57t | ||
-----END DSA PRIVATE KEY----- |
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
4 changes: 2 additions & 2 deletions
4
...urces/org/elasticsearch/xpack/security/transport/ssl/certs/simple/dsa_key_pkcs8_plain.pem
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,9 +1,9 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIBTAIBADCCASwGByqGSM44BAEwggEfAoGBAP1/U4EddRIpUt9KnC7s5Of2EbdS | ||
MIIBSwIBADCCASwGByqGSM44BAEwggEfAoGBAP1/U4EddRIpUt9KnC7s5Of2EbdS | ||
PO9EAMMeP4C2USZpRV1AIlH7WT2NWPq/xfW6MPbLm1Vs14E7gB00b/JmYLdrmVCl | ||
pJ+f6AR7ECLCT7up1/63xhv4O1fnxqimFQ8E+4P208UewwI1VBNaFpEy9nXzrith | ||
1yrv8iIDGZ3RSAHHAhUAl2BQjxUjC8yykrmCouuEC/BYHPUCgYEA9+GghdabPd7L | ||
vKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRZT+ZxBxCBgLRJFnEj6EwoFhO3 | ||
zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTxvqhRkImo | ||
g9/hWuWfBpKLZl6Ae1UlZAFMO/7PSSoEFwIVAIBLSj+KjSBP1HEOVGpr6HXhwD+V | ||
g9/hWuWfBpKLZl6Ae1UlZAFMO/7PSSoEFgIUXUvJ+4GoFiHuHIix+Rv5xmhDnu0= | ||
-----END PRIVATE KEY----- |
6 changes: 3 additions & 3 deletions
6
.../org/elasticsearch/xpack/security/transport/ssl/certs/simple/ec_key_openssl_encrypted.pem
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,7 +1,7 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
Proc-Type: 4,ENCRYPTED | ||
DEK-Info: AES-128-CBC,567E762B3A8E50580840B6EA13E75693 | ||
DEK-Info: AES-128-CBC,692E4272CB077E56A0D4772B323EFB14 | ||
|
||
6ZgeotCi4v3IVdalZkVYCRQw5jnCzJJnM1D+6gUZU3F3gSqayJECwsekk8YFVUg4 | ||
+FI+9ilvB9PAfgGaAB9Jgg== | ||
BXvDiK0ulUFKw1fDq5TMVb9gAXCeWCGUGOg/+A65aaxd1zU+aR2dxhCGXjsiLzRn | ||
YFSZR2J/L7YP1qvWC7f0NQ== | ||
-----END EC PRIVATE KEY----- |
2 changes: 1 addition & 1 deletion
2
...rces/org/elasticsearch/xpack/security/transport/ssl/certs/simple/ec_key_openssl_plain.pem
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,4 +1,4 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MDECAQEEIEpAaLjV5aiQ8SHYOPEsf359Uuzk/rmdzT7PfEck635qoAoGCCqGSM49 | ||
MDECAQEEILEXCgqp9wZqKVmG6HTESPeCyx2O4TDoFqyILz7OGocEoAoGCCqGSM49 | ||
AwEH | ||
-----END EC PRIVATE KEY----- |
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
4 changes: 2 additions & 2 deletions
4
...ources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/ec_key_pkcs8_plain.pem
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,4 +1,4 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCBKQGi41eWokPEh2Djx | ||
LH9+fVLs5P65nc0+z3xHJOt+ag== | ||
MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCCxFwoKqfcGailZhuh0 | ||
xEj3gssdjuEw6BasiC8+zhqHBA== | ||
-----END PRIVATE KEY----- |
Binary file modified
BIN
+355 Bytes
(100%)
...c/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...est/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode_ec.crt
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIB7zCCAZOgAwIBAgIEcmggOzAMBggqhkjOPQQDAgUAMCIxIDAeBgNVBAMTF0Vs | ||
YXN0aWNzZWFyY2ggVGVzdCBOb2RlMB4XDTE4MDUxNzA5MzYxMFoXDTQ1MTAwMjA5 | ||
MzYxMFowIjEgMB4GA1UEAxMXRWxhc3RpY3NlYXJjaCBUZXN0IE5vZGUwWTATBgcq | ||
hkjOPQIBBggqhkjOPQMBBwNCAATuZRlXGn/ROcO7yFJJ50b20YvgV3U+FpRx0nx/ | ||
yigWj6xiEMKnWbbUnM0mKF8c3GHGk5g8OXPnbK96uj6tpMB5o4G0MIGxMB0GA1Ud | ||
DgQWBBRNAGO77mUhG6SQvIXQTbpcFwlf2TCBjwYDVR0RBIGHMIGEgglsb2NhbGhv | ||
c3SCFWxvY2FsaG9zdC5sb2NhbGRvbWFpboIKbG9jYWxob3N0NIIXbG9jYWxob3N0 | ||
NC5sb2NhbGRvbWFpbjSCCmxvY2FsaG9zdDaCF2xvY2FsaG9zdDYubG9jYWxkb21h | ||
aW42hwR/AAABhxAAAAAAAAAAAAAAAAAAAAABMAwGCCqGSM49BAMCBQADSAAwRQIg | ||
Z3IvdmY5LFdbxoVSs6pV2tJ5+U833Chu0+ZzPo77IVUCIQDRx1FVitVuzBpqwhSW | ||
+Zprt2RLPllC4s4BCApGDh8i1g== | ||
-----END CERTIFICATE----- |