Aias00 opened a new pull request, #2689: URL: https://github.com/apache/rocketmq-dashboard/pull/2689
## What Fixes the K8s certificate renewal flow so it replaces persisted certificate material with the submitted PEM and derives metadata from the real X.509 certificate instead of extending dates locally. Closes #2681 ## Changes - Add cert/key PEM fields to K8s certificate renew/update DTOs. - Parse submitted X.509 PEM for issuer, validity dates and SANs. - Reject invalid or expired renewal certificates. - Validate mTLS private keys against the certificate public key before persistence. - Add a certificate renewal UI modal with write-only private key input and i18n copy. - Update API/service tests and page tests for the new renew contract. ## Verification - `git diff --check` - `JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn -Dtest=K8sCertServiceTest,K8sCertControllerTest test` - `JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn test` - `npm test -- src/api/cluster.test.ts src/pages/cluster/__tests__/K8sCertsPage.test.tsx` - `npm test` - `npm run build` - `npx tsc --noEmit --pretty false --project web/tsconfig.json` via diagnostics -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
