summaryrefslogtreecommitdiffstats
path: root/base/server/man
diff options
context:
space:
mode:
authorJack Magne <jmagne@localhost.localdomain>2015-05-05 14:19:58 -0700
committerJack Magne <jmagne@localhost.localdomain>2015-05-06 17:06:49 -0700
commit8ab96dfb7d9a433d37004a12b6eda6021f34ceaf (patch)
treef6fbe4e284b8c04cfe5f97a0e04c0a09ee8f6021 /base/server/man
parent243cbf17ef88a3ec00980670f3918db925955c6c (diff)
downloadpki-8ab96dfb7d9a433d37004a12b6eda6021f34ceaf.tar.gz
pki-8ab96dfb7d9a433d37004a12b6eda6021f34ceaf.tar.xz
pki-8ab96dfb7d9a433d37004a12b6eda6021f34ceaf.zip
Ticket #572 - CRL scheduler adds extra CRL generation at midnight for daily schedules.
Addresses the complaint of this ticket. Tested to work in a few basic cases. The minor code change was designed to only affect the specific scenario when we have a daily scedule that spans only one day. More Info: How to duplicate and test: Perform a manual crl generate from the agent interface because the code to be tested relies heavily upon the "lastUpdate" which will appear in the logs. Do this to have a nice launching off point. Go to the ca's pkiconsole and select : Certificate Manager -> CRL Issuing Points -> MasterCRL. Check "updateCRL at: " and give a schedule such as : 15:03, 15:10 .. This gives us a chance to watch the two regularly scheduled updates happen. When the first event triggers, have a look at the CA's "debug" log and note the following or similar entry: [CRLIssuingPoint-MasterCRL]: findNextUpdate: Wed May 06 15:10:00 PDT 2015 delay: 86301873 Wait for the 15:00 even to happen. When that triggers at the end of that cycle, we should see one more similar entry. [CRLIssuingPoint-MasterCRL]: findNextUpdate: Wed May 06 15:03 PDT 2015 delay: 86301873 That is the correct behavior after the fix. We want the next update to be at the first entry of the daily schedule , but tomorrow. The current bug would print out this value as something like: Wed May 06 00:00:00 or similar to indicate midnight. This is not what we want.
Diffstat (limited to 'base/server/man')
0 files changed, 0 insertions, 0 deletions