-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
easyrsa-tools.lib: expire_status_v2() (show-expire version 2)
Major simplification for command 'show-expire'. 1. Ignore certificates which are not present in 'pki/issued' sub-dir. This includes certs moved to expired, renewed or revoked sub-dirs. These can all be ignored because their validitiy is irrelevant. (Ignore serial number mismatches as irrelevant) 2. Drop all use of 'date' binary. Only use OpenSSL format modifiers to control date format. 3. Try to use ISO8601 date format, as of OpenSSL v3. Otherwise, fallback to default certificate date format. Signed-off-by: Richard T Bonhomme <[email protected]>
- Loading branch information
1 parent
5d84784
commit 1e43bf5
Showing
1 changed file
with
51 additions
and
2 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