-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add missing seconds argument after '-checkend' as it should be followed by a number that defines how many seconds ahead openssl x509 should check for cert expiry, otherwise later versions of OpenSSL raise syntax errors (treating next arg as the number). Set it to a day as certs should really be replaced before that considering the amount of time it can take a message to traverse the messaging system. - Update error messages to match verify_cert_date as verify_cert_date has been updated to check that the cert won't expire within the next day, the error messages should explain this if there's a verification failure - Increase the temp cert validity to 2 days so that it's comfortably longer than the period that verify_cert_date checks for (1 day). - Update expected error for expired cert test to match updated function.
- Loading branch information
1 parent
1a9f10c
commit 6d3f00a
Showing
3 changed files
with
18 additions
and
10 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