mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 23:23:32 +01:00
[PR #666] [CLOSED] Only check existing certs when necessary #891
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/666
Author: @stefaang
Created: 8/26/2019
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
16a89f6Only check existing certs when necessary📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
dehydrated(+1 -1)📄 Description
Fixes https://github.com/lukas2511/dehydrated/issues/230
The expiry date check could be skipped too.
Some extra info:
I tried running dehydrated on an entware installation + lighttpd webserver based on this.
Unfortunately, the openssl package in entware doesn't support the -extensions req_ext flag, hence there's no DNS section in generated keys.
I tried running the script without any certificates, but lighttpd doesn't want to start when the certs in its config do not exist. Dehydrated doesn't want to generate certs when it fails to parse the DNS section in existing certs. A bit of a chicken/egg situation.
Hence, when forcing to generate certs anyway, do not parse the existing certs.. the main goal of that section is to enable the force flag anyway.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.