mirror of
https://github.com/fosrl/newt.git
synced 2026-03-09 07:12:28 -05:00
[PR #99] [MERGED] Split mTLS client and CA certificates handling for improved TLS configuration #122
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/newt/pull/99
Author: @Pallavikumarimdb
Created: 8/4/2025
Status: ✅ Merged
Merged: 8/31/2025
Merged by: @oschwartz10612
Base:
main← Head:feat/Split-mTLS-client-and-CA-certificates📝 Commits (1)
d52f89fSplit mTLS client and CA certificates📊 Changes
3 files changed (+287 additions, -28 deletions)
View changed files
📝
README.md(+39 -8)📝
main.go(+152 -9)📝
websocket/client.go(+96 -11)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
This PR introduces a clearer separation between the mTLS client certificate/key and the CA certificate for the Newt service. The previous implementation used a single certificate path for both client authentication and CA verification. This change introduces the following:
--tls-client-cert-file: Path to the client certificate used for mTLS--tls-client-key: Path to the private key associated with the client certificate--tls-client-ca: Path to the CA certificate used to verify the serverChanges made:
How to test?
Testing:
client.key,client.crt, andca.crt.Closes #54
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.