[PR #4293] [CLOSED] Fix GetConfig to load the mTLS certificate #22932

Open
opened 2026-08-05 06:06:34 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/4293
Author: @Foosec
Created: 8/5/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • ddc4b5b Fix GetConfig to load the mTLS certificate

📊 Changes

1 file changed (+10 additions, -0 deletions)

View changed files

📝 client/internal/profilemanager/config.go (+10 -0)

📄 Description

Describe your changes

Add mTLS certificate loading into the new GetConfig()
maybe its worth considering JSON-ing the cert?
I leave those decisions to the devs :)

Fixes #4278

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/4293 **Author:** [@Foosec](https://github.com/Foosec) **Created:** 8/5/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`ddc4b5b`](https://github.com/netbirdio/netbird/commit/ddc4b5b07b3959710783a615994e94d907b1f678) Fix GetConfig to load the mTLS certificate ### 📊 Changes **1 file changed** (+10 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/profilemanager/config.go` (+10 -0) </details> ### 📄 Description ## Describe your changes Add mTLS certificate loading into the new GetConfig() maybe its worth considering JSON-ing the cert? I leave those decisions to the devs :) ## Issue ticket number and link Fixes #4278 ## Stack <!-- branch-stack --> ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 06:06:34 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#22932