node: add option to use self signed certs - #4114
Draft
End-rey wants to merge 4 commits into
Draft
Conversation
Request client certificates on TLS endpoints and use their keys to authenticate unsigned one-hop object requests. Closes #4088. Signed-off-by: Andrey Butusov <andrey@nspcc.io>
Require and verify client certificates from inter-node TLS peers against the network map. Track connections that completed mutual TLS and omit request signatures for forwarded TTL=1 HEAD, GET, RANGE, PUT, and SEARCH requests over them. Keep signing when TLS is unavailable, mutual authentication is incomplete, or the request TTL is not one. Closes #4089. Signed-off-by: Andrey Butusov <andrey@nspcc.io>
Use the SDK local request signing status to omit signatures from TTL=1 object requests sent over a mutually authenticated connection. Keep signatures for plain connections, TLS connections without mutual authentication, and requests with other TTL values. Update SDK to the version providing this API. Signed-off-by: Andrey Butusov <andrey@nspcc.io>
Add `grpc.tls.self_signed` to generate a TLS certificate from the node key. Use the generated certificate for inter-node client authentication and validate self-signed candidate certificates against the public key announced in the network map. Closes #4090. Signed-off-by: Andrey Butusov <andrey@nspcc.io>
End-rey
requested review from
carpawell,
cthulhu-rider and
roman-khimov
as code owners
July 31, 2026 16:11
End-rey
marked this pull request as draft
July 31, 2026 16:11
End-rey
force-pushed
the
mtls-internode-dont-sign-requests
branch
from
August 6, 2026 15:47
6526e43 to
efae3b6
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4090.