[PR #400] [CLOSED] add cert alias, fixing #396 #825

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

📋 Pull Request Information

Original PR: https://github.com/dehydrated-io/dehydrated/pull/400
Author: @typingArtist
Created: 6/8/2017
Status: Closed

Base: masterHead: 396-cert-alias


📝 Commits (3)

  • cd03e2a 396 replace ${CERTDIR}/${domain} with ${certdir} everywhere
  • 3116fe0 Dictate certdir to sign_domain by command_sign_domains
  • e0880bb add --alias option to domains.txt #396

📊 Changes

6 files changed (+99 additions, -44 deletions)

View changed files

📝 CHANGELOG (+1 -1)
📝 dehydrated (+60 -43)
📝 docs/domains_txt.md (+19 -0)
📝 docs/examples/domains.txt (+2 -0)
📝 docs/per-certificate-config.md (+2 -0)
📝 test.sh (+15 -0)

📄 Description

This change adds a feature where each line in domains.txt can be prefixed by "--alias alias-name", where the given alias-name is used instead of the primary (first) domain name on that line, for looking up the configuration and for storing the certificate. With that change it is possible to generate multiple certificates with the same primary domain name and differentiate the configuration and output path via the alias-name. One use case is for generating both an RSA and an ECDSA key/cert combination. This change fixes #396.

[x] tested manually
[x] added simple test case to test.sh
[x] added documentation updates


🔄 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/400 **Author:** [@typingArtist](https://github.com/typingArtist) **Created:** 6/8/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `396-cert-alias` --- ### 📝 Commits (3) - [`cd03e2a`](https://github.com/dehydrated-io/dehydrated/commit/cd03e2a8d71939cf03442f3ed7c2d92b6a8f31cd) 396 replace ${CERTDIR}/${domain} with ${certdir} everywhere - [`3116fe0`](https://github.com/dehydrated-io/dehydrated/commit/3116fe0c8cd62096e20f586d3b08d1a012d88085) Dictate certdir to sign_domain by command_sign_domains - [`e0880bb`](https://github.com/dehydrated-io/dehydrated/commit/e0880bb5ed77b1f11a3dd3287e34c6caa24648a5) add --alias option to domains.txt #396 ### 📊 Changes **6 files changed** (+99 additions, -44 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG` (+1 -1) 📝 `dehydrated` (+60 -43) 📝 `docs/domains_txt.md` (+19 -0) 📝 `docs/examples/domains.txt` (+2 -0) 📝 `docs/per-certificate-config.md` (+2 -0) 📝 `test.sh` (+15 -0) </details> ### 📄 Description This change adds a feature where each line in domains.txt can be prefixed by "--alias alias-name", where the given alias-name is used instead of the primary (first) domain name on that line, for looking up the configuration and for storing the certificate. With that change it is possible to generate multiple certificates with the same primary domain name and differentiate the configuration and output path via the alias-name. One use case is for generating both an RSA and an ECDSA key/cert combination. This change fixes #396. [x] tested manually [x] added simple test case to `test.sh` [x] added documentation updates --- <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:29:30 +01:00
adam closed this issue 2025-12-29 01:29:30 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#825