Jiyoung Yoo has uploaded this change for review. (
http://gerrit.cloudera.org:8080/24666
Change subject: IMPALA-15249: Update test certificates to use serverAuth EKU
only
......................................................................
IMPALA-15249: Update test certificates to use serverAuth EKU only
Impala's test certificates in be/src/testutil/ previously had no Extended
Key Usage (EKU) extension. An absent EKU means all uses are permitted.
Industry standards and public CAs are sunsetting multi-use certificates.
To align Impala's tests with real-world PKI practices, test certificates
should use serverAuth EKU rather than dual EKU.
This change regenerates the five leaf certificate families used by
Impala's TLS tests to carry EKU=serverAuth only. Impala never presents
its certificate in a TLS client role. Every code path that loads
--ssl_server_certificate uses the cert only in the TLS server role
during the handshake, so clientAuth is intentionally omitted.
Regenerated leaves (EKU=serverAuth only):
- server-cert.pem + server-key.pem + server-key-password.pem
- localhost.pem + localhost.key
- localhost-ecdsa.pem + localhost-ecdsa.key
- wildcard-cert.pem + wildcard-cert.key
- wildcard-san-cert.pem + wildcard-san-cert.key
Not regenerated:
- CA certs: wildcardCA.pem, wildcardCA-ecdsa.pem
- Negative-path certs: bad-cert.pem, future-cert.pem,
invalid-server-cert.pem, incorrect-commonname-cert.pem
Testing:
- Existing SSL-related unit tests and E2E tests passed with the
newly generated certificates
Assisted-by: Claude Opus 5 (Claude Code)
Change-Id: Icd1e8f685db5ace524e0c705bc25eba784a1d155
---
M be/src/testutil/certificates-info.txt
M be/src/testutil/localhost-ecdsa.key
M be/src/testutil/localhost-ecdsa.pem
M be/src/testutil/localhost.key
M be/src/testutil/localhost.pem
M be/src/testutil/server-cert.pem
M be/src/testutil/server-key-password.pem
M be/src/testutil/server-key.pem
M be/src/testutil/wildcard-cert.key
M be/src/testutil/wildcard-cert.pem
M be/src/testutil/wildcard-san-cert.key
M be/src/testutil/wildcard-san-cert.pem
12 files changed, 288 insertions(+), 232 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/66/24666/1
--
To view, visit http://gerrit.cloudera.org:8080/24666
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd1e8f685db5ace524e0c705bc25eba784a1d155
Gerrit-Change-Number: 24666
Gerrit-PatchSet: 1
Gerrit-Owner: Jiyoung Yoo <[email protected]>