[PR #614] [MERGED] Generate validation certificate from mandatory JWK fields #12795

Closed
opened 2026-08-05 02:06:42 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/614
Author: @mlsmaycon
Created: 12/7/2022
Status: Merged
Merged: 12/7/2022
Merged by: @mlsmaycon

Base: mainHead: generate-validation-pem


📝 Commits (2)

  • 9cdc2b0 Generate validation certificate from mandatory JWK fields
  • 1ed3ec2 fix codacy comment

📊 Changes

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

View changed files

📝 management/server/http/middleware/handler.go (+81 -10)

📄 Description

When there is no X5c we will use N and E fields of a JWK to generate the public RSA and a Pem certificate

Describe your changes

Relates to #573 #427 #452

Checklist

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

🔄 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/614 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 12/7/2022 **Status:** ✅ Merged **Merged:** 12/7/2022 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `generate-validation-pem` --- ### 📝 Commits (2) - [`9cdc2b0`](https://github.com/netbirdio/netbird/commit/9cdc2b091a1060172545a928de5cfbc4742cf392) Generate validation certificate from mandatory JWK fields - [`1ed3ec2`](https://github.com/netbirdio/netbird/commit/1ed3ec2aae3b1f1a57f564b29d4bb6358ec57fa5) fix codacy comment ### 📊 Changes **1 file changed** (+81 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `management/server/http/middleware/handler.go` (+81 -10) </details> ### 📄 Description When there is no `X5c` we will use `N` and `E` fields of a JWK to generate the public RSA and a Pem certificate ## Describe your changes ## Issue ticket number and link Relates to #573 #427 #452 ### Checklist - [x ] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <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 02:06:42 -04:00
saavagebueno changed title from [PR #614] Generate validation certificate from mandatory JWK fields to [PR #614] [MERGED] Generate validation certificate from mandatory JWK fields 2026-08-05 03:07:04 -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#12795