mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Alias via domains.txt broken? #582
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?
Originally created by @Lem on GitHub (Sep 22, 2022).
I tried to get a wildcard-only certificate for
*.example.comviadomains.txt. But it was not recognized by the script.According to the documentation you can add the line
*.example.com > star_example_com, but using the command./dehydrated -d '*.example.com' -cresults in an error.Using the command line argument (
./dehydrated -d '*.example.com' -c --alias star_example_com) works fine.Adding some debug lines I found out that the function
parse_domains_txtseems to produce an output containing the '>', but it is missing in the variablelineof the the for-loop responsible for the alias-logic (https://github.com/dehydrated-io/dehydrated/blob/master/dehydrated#L1656).Output of both commands:
@lukas2511 commented on GitHub (Sep 22, 2022):
That is intended behaviour. When you define domains via the cli arguments the
domains.txtfile gets ignored completely.