mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
[PR #95] [MERGED] Add ability to sign "arbitrary" CSRs #707
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:master📝 Commits (3)
50e7a07Split off CSR signing to separate functiona62968cAdd extract_altnames() function429ec40Add --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.shimplementation 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.txtfile), and exposes this functionality from the command line.The newly added
--signcsrcommand 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.