[PR #494] add CommonName to generated certificates #472

Open
opened 2026-02-25 22:33:36 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/FiloSottile/mkcert/pull/494
Author: @elexx
Created: 1/16/2023
Status: 🔄 Open

Base: masterHead: feat/add-cn


📝 Commits (1)

  • 49fec4a add CN to generated certificates

📊 Changes

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

View changed files

📝 cert.go (+1 -0)

📄 Description

Adding a CN to the subject makes generated certificates usable in DSM (Synology).

I created a certificate, uploaded it to my DSM and are able to use it for example as "System default" certificate. Also DSM now shows a "Issued to:" value:
image

Without this patch, "Issued to:" was empty and the certificate was not selectable for any usages.

Fixes FiloSottile/mkcert#469


🔄 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/FiloSottile/mkcert/pull/494 **Author:** [@elexx](https://github.com/elexx) **Created:** 1/16/2023 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feat/add-cn` --- ### 📝 Commits (1) - [`49fec4a`](https://github.com/FiloSottile/mkcert/commit/49fec4a21908ddf9cb3600fed28ea9c6de8bca93) add CN to generated certificates ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cert.go` (+1 -0) </details> ### 📄 Description Adding a CN to the subject makes generated certificates usable in DSM (Synology). I created a certificate, uploaded it to my DSM and are able to use it for example as "System default" certificate. Also DSM now shows a "Issued to:" value: ![image](https://user-images.githubusercontent.com/221837/212713162-9a4a9de5-9a32-4ff3-a246-ee74654b4a5f.png) Without this patch, "Issued to:" was empty and the certificate was not selectable for any usages. Fixes FiloSottile/mkcert#469 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#472
No description provided.