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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.