Skip to content

node: add option to use self signed certs - #4114

Draft
End-rey wants to merge 4 commits into
mtls-internode-dont-sign-requestsfrom
self-signed-internode-cert
Draft

node: add option to use self signed certs#4114
End-rey wants to merge 4 commits into
mtls-internode-dont-sign-requestsfrom
self-signed-internode-cert

Conversation

@End-rey

@End-rey End-rey commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Closes #4090.

End-rey added 4 commits July 31, 2026 16:26
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 End-rey self-assigned this Jul 31, 2026
@End-rey
End-rey marked this pull request as draft July 31, 2026 16:11
@End-rey
End-rey force-pushed the mtls-internode-dont-sign-requests branch from 6526e43 to efae3b6 Compare August 6, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant