-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mTLS settings to ApiClient (#1415)
Add SSLContext creation based on the provided mTLS jks Keystore/Truststore. Add two new config options to http, keystore and truststore. They must be mounted as jks keystore files. If the keystore is set, Reaper tries to build HttpManagementProxy with mTLS enabled.
- Loading branch information
Showing
19 changed files
with
538 additions
and
45 deletions.
There are no files selected for viewing
Binary file not shown.
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,19 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDEzCCAfugAwIBAgIUFKo4A37pUPXWajJdf5/7EnpSNyEwDQYJKoZIhvcNAQEN | ||
BQAwGDEWMBQGA1UEAwwNTmV0dHlUZXN0Um9vdDAgFw0yNDAxMTkxNjUxNTlaGA8y | ||
MTIzMTIyNjE2NTE1OVowGDEWMBQGA1UEAwwNTmV0dHlUZXN0Um9vdDCCASIwDQYJ | ||
KoZIhvcNAQEBBQADggEPADCCAQoCggEBAJzEkIoOIu/A+p6OOvNJc2Zny86gW0sR | ||
r5UPFT415Z78sH/gd3RYxvdpe3JCtTTMbmKaC5rQBkkYPbE1096+aTfEudzXIAyM | ||
Zj/q53C4yPCc0FX56Isv24lMSL98yFtd1ZOloFICKOGCA1hrtoASjpmmiTGllI6s | ||
WceThVr19EllNtNtacDumoNZz5keXHuyoLvrPLWo9gU4ldJP8dziqYDUkigJe0xD | ||
L0DmVNgNLPLKnuiHLTJviuuPoWQCkUOCdOFlNXooo37Za6PT5no0Hin1WJFAgEWK | ||
U3da9Hbgn8nwRUQVBPgywuE7+MX0R4nLuBoo02BeKQc/xAvfjnDdgBECAwEAAaNT | ||
MFEwHQYDVR0OBBYEFFBkDgjEaXUiN3FUgRfmK5oGrGnvMB8GA1UdIwQYMBaAFFBk | ||
DgjEaXUiN3FUgRfmK5oGrGnvMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEN | ||
BQADggEBABQ19Qnt9wp6rkPMJ/rPESaPh+uQU313m/Vgfjp/7ExvY8OkyDkOLs4r | ||
2OtO38mi9pBTmAMwF0UH38a2/OK8g/kNSwHu7zIjp52Ic5BUxSMXt7MWE/FD8LQR | ||
sd++w32CEYSd5XqaVYNDrNQkYKM/G2QEK8FsHPnEC9JnL4TglH9b2+cEdxqfvraH | ||
VduamM85xvA2qyR2pgStO2I94pnVbXCpGCSts9AEVMTGXhDhMEyCwTcgpyUgsYfc | ||
njVfnKhXEM1ODlGMDOsNbzETgKIR8rZRu6auBOI15G07DHiBJTKIlu6OgAwWfxbY | ||
6+q3zBcb5lbLib+zfxGCm9Pb8gInU0o= | ||
-----END CERTIFICATE----- |
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,19 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDJDCCAgygAwIBAgIUJTGy6IraiFSQh5LsKwXXFuW5RAQwDQYJKoZIhvcNAQEL | ||
BQAwGDEWMBQGA1UEAwwNTmV0dHlUZXN0Um9vdDAeFw0yNDAxMTkxNjUxNTlaFw0y | ||
OTAxMTcxNjUxNTlaMBoxGDAWBgNVBAMMD05ldHR5VGVzdFNlcnZlcjCCASIwDQYJ | ||
KoZIhvcNAQEBBQADggEPADCCAQoCggEBAN9p7uvZl4LkTVNLZPVaWG0KSXh66ZnV | ||
YaQB2tsj1BaOHZsmW7xfwptrZp5L+adPQfeAg1wSq3EKqAg2fiatysWPJciVFLnZ | ||
pnCGho4VFzWtwMfjCpgeJ3JM1u4h4gCXlZKAQeEMrcfdzB8azqqDyF0ip4oydGRn | ||
NfG3apK1wMVA5yi3MsXrklEQZrbKCOj913JNS/W2pJGFyXS5ljJIME7BPv1aWngv | ||
RZRLRPWj+1fDzfwvbaJ01+YJW9h3vuy3whBrpCx8koTx5mTgWm9ywD9CXhycM7Sr | ||
NvYJ3Ip2qfmPcFDbLt6+6mKx9i0400DLuQs7mp4D6q4mXlv1d7sOmIkCAwEAAaNk | ||
MGIwIAYDVR0RBBkwF4IJbG9jYWxob3N0hwR/AAABhwR/AAACMB0GA1UdDgQWBBSo | ||
rmVS78ucWg8iOxzl10T63yn1HDAfBgNVHSMEGDAWgBRQZA4IxGl1IjdxVIEX5iua | ||
Bqxp7zANBgkqhkiG9w0BAQsFAAOCAQEAMgjD6WyeuvJ7695Fz/KkG/dJlf6tf5CO | ||
Bv6fV1IC4hKQfux34uuidH4Isp4tlou9gscQiX6tX5aUHCJns6slGvIyiV+niMPO | ||
g681gaInTJ2qEfvsP6Mzcb/liPUYNgS1iG2tQG+eWkEPEAlizOufCUzK+RCJtoIR | ||
JZgarU4Y5mdE9Yi+0qEqjnuDGqKMr/eyywnkQ7Ys/rMybPEpz75lXPXMpx9iZTub | ||
c/InE0o4SftTyYBieOb6fzYt9UwwtU8XT5eGNk+I41COWGYJKYbfkgfitXR1xgSM | ||
4B3aZjXr0L8H0RTbPLk+Zl+jtZnQXe4e40CX1jk+T2+yz9QMrv5FhQ== | ||
-----END CERTIFICATE----- |
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,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDfae7r2ZeC5E1T | ||
S2T1WlhtCkl4eumZ1WGkAdrbI9QWjh2bJlu8X8Kba2aeS/mnT0H3gINcEqtxCqgI | ||
Nn4mrcrFjyXIlRS52aZwhoaOFRc1rcDH4wqYHidyTNbuIeIAl5WSgEHhDK3H3cwf | ||
Gs6qg8hdIqeKMnR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FN | ||
Q5oTr1bQ8+/e2tePoywu9Yt8k38YAJEITl6KINsoGocV76hLW76ZwpjhAoGASZR2 | ||
gKLS9vTzM4IZ5N1Lbb0QiUjCfO/C2uBazOXd8FEFJ0rQYnaUe2mcCSJ24rn5ykos | ||
OUSv1fEXtNS8LFWqv2UrodDNyWfmSKBXGrbRLodVKzotaWI3JySyFGm/mWhb5w5N | ||
SGS9OF18hPWTmxUivHxyarSa5VjHzfBgWg1HRv0CgYEAl8zFvOLUlduAnqAkGe6h | ||
Nm8qbb7CaR8u1WY7jQ1i5oqWVGiBoae6i50gKhqJKVuDcsd+EXNaooTuED8GHVle | ||
HDv3II0B5lV5VFgvk1+ovWIOFctaPbprAuwIJ2iXfLLvwfcGTtQpjYpi812wrVsn | ||
J/MMLpSOXJhRIorICkY72TU= | ||
-----END PRIVATE KEY----- |
Binary file not shown.
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
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
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
Oops, something went wrong.