Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require ClientAuth when verifying an X5cInsecure certificate
The X5cInsecure certificate is used by step-ca to renew certificates without using mTLS, usually expired certificates. Certificate.Verify defaults to require ServerAuth if no KeyUsages is set as an option. But due to how these tokens are used, it makes more sense to require only ClientAuth. Related to smallstep/certificates#1843
- Loading branch information