Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-6251 Backdate certificates generated by cryptogen
cryptogen currently sets the NotBefore field for certificates to the current time. Fabric CA sets the NotBefore field to current time - 5 minutes. If one attempts to use the CA certs generated by cryptogen with Fabric CA and then tries to enroll with Fabric CA, if you don't wait 5+ min then the certs signed by Fabric CA end up being invalid. This change simply backdates the NotBefore 5 minutes prior to the current time for all generated certs Change-Id: I0f5661216dc6459d19d808ed592046a0de3f3034 Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
- Loading branch information