[PR #95] [MERGED] Add ability to sign "arbitrary" CSRs #707

Closed
opened 2025-12-29 01:28:34 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dehydrated-io/dehydrated/pull/95
Author: @nielslaukens
Created: 1/20/2016
Status: Merged
Merged: 1/22/2016
Merged by: @lukas2511

Base: masterHead: master


📝 Commits (3)

  • 50e7a07 Split off CSR signing to separate function
  • a62968c Add extract_altnames() function
  • 429ec40 Add --signcsr command

📊 Changes

2 files changed (+125 additions, -38 deletions)

View changed files

📝 README.md (+2 -0)
📝 letsencrypt.sh (+123 -38)

📄 Description

I was looking for a Let's Encrypt client to integrate in to an existing automation tool. Your letsencrypt.sh implementation came closest. However, it still does too much.

This pull requests splits out the core functionality (sign a CSR) from the nice-to-have features (generate a CSR from the domains.txt file), and exposes this functionality from the command line.

The newly added --signcsr command does exactly what its name implies: it extracts the domain names from the CSR (SANs or CN), requests and executes the challenge for each one, requests the CRT, and outputs that to stdout (normal output is redirected to stderr for this command).


🔄 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/dehydrated-io/dehydrated/pull/95 **Author:** [@nielslaukens](https://github.com/nielslaukens) **Created:** 1/20/2016 **Status:** ✅ Merged **Merged:** 1/22/2016 **Merged by:** [@lukas2511](https://github.com/lukas2511) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`50e7a07`](https://github.com/dehydrated-io/dehydrated/commit/50e7a072dafd89802fc29f62ad641ea91fef7615) Split off CSR signing to separate function - [`a62968c`](https://github.com/dehydrated-io/dehydrated/commit/a62968c9b37db8222534c43f7d00c5ec59024358) Add extract_altnames() function - [`429ec40`](https://github.com/dehydrated-io/dehydrated/commit/429ec400d8b30520a441efca6a0daf03b525360d) Add --signcsr command ### 📊 Changes **2 files changed** (+125 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+2 -0) 📝 `letsencrypt.sh` (+123 -38) </details> ### 📄 Description I was looking for a Let's Encrypt client to integrate in to an existing automation tool. Your `letsencrypt.sh` implementation came closest. However, it still does too much. This pull requests splits out the core functionality (sign a CSR) from the nice-to-have features (generate a CSR from the `domains.txt` file), and exposes this functionality from the command line. The newly added `--signcsr` command does exactly what its name implies: it extracts the domain names from the CSR (SANs or CN), requests and executes the challenge for each one, requests the CRT, and outputs that to stdout (normal output is redirected to stderr for this command). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 01:28:34 +01:00
adam closed this issue 2025-12-29 01:28:35 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#707