Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pki::RequestCertificate handler: renew cert if it's not suitable for handshake #10328

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Al2Klimov
Copy link
Member

@Al2Klimov Al2Klimov commented Jan 27, 2025

There's a bug causing malformed certificates to be issued sometimes. The handshake chain verification fails with X509_V_ERR_CERT_SIGNATURE_FAILURE, but (luckily) the certificate sent via pki::RequestCertificate gets properly recognized by VerifyCertificate(). The latter allows to self-heal the cluster by issuing a new certificate, despite the old one being "valid and uptodate".

ref/IP/57407

TODO

  • plan ok?
  • code beautiful enough?
  • test final version @Al2Klimov

@Al2Klimov Al2Klimov added bug Something isn't working area/distributed Distributed monitoring (master, satellites, clients) ref/IP labels Jan 27, 2025
@cla-bot cla-bot bot added the cla/signed label Jan 27, 2025
@Al2Klimov Al2Klimov marked this pull request as ready for review February 3, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/distributed Distributed monitoring (master, satellites, clients) bug Something isn't working cla/signed ref/IP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant