[PR #635] Allow using RSA or EC private key when CA is provided #522

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

📋 Pull Request Information

Original PR: https://github.com/FiloSottile/mkcert/pull/635
Author: @a-bouts
Created: 5/27/2025
Status: 🔄 Open

Base: masterHead: rsa_or_ec_private_key


📝 Commits (1)

  • 6981eff Allow using RSA or EC private key when CA provided

📊 Changes

1 file changed (+9 additions, -2 deletions)

View changed files

📝 cert.go (+9 -2)

📄 Description

Some development CA may be created by an external solution and mkcert can be used to install or uninstall these CA by providing rootCA.pem and rootCA-key.pem.

In this case, the private key may also be RSA or EC one.

This Pull Request allow to read the private even if it's an encrypted one.


🔄 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/635 **Author:** [@a-bouts](https://github.com/a-bouts) **Created:** 5/27/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `rsa_or_ec_private_key` --- ### 📝 Commits (1) - [`6981eff`](https://github.com/FiloSottile/mkcert/commit/6981eff4d96c948f70818e379c8ed0e748335cdf) Allow using RSA or EC private key when CA provided ### 📊 Changes **1 file changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `cert.go` (+9 -2) </details> ### 📄 Description Some development CA may be created by an external solution and mkcert can be used to install or uninstall these CA by providing `rootCA.pem` and `rootCA-key.pem`. In this case, the private key may also be RSA or EC one. This Pull Request allow to read the private even if it's an encrypted one. --- <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#522
No description provided.