-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: return TLS cert and key from get-certificate
Change the get-certificate output to return a list of certificates for the given FQDN. The list is sorted by decreasing relevance, so the first item has the higher relevance. This is a list of relevance factors, from most important to less important: - custom certificate with wildcard match - custom certificate with exact name match - internal (ACME) certificate with wildcard match - internal certificate with exact name match The match occurs in both the certificate subject and SAN extension. If two certificates score the same relevance the order depends on the underlying storage (custom certs or acme.json). Expiration date is not considered.
- Loading branch information
1 parent
e3cbce7
commit c216e87
Showing
3 changed files
with
108 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters