-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "document
--ca-roots
and --ca-intermediates
flags for 'cos…
…ign ver…" This reverts commit 64b258f.
- Loading branch information
1 parent
b84a942
commit bfe5060
Showing
1 changed file
with
3 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,22 +80,12 @@ $ cosign verify --certificate cosign.crt --certificate-chain chain.crt user/demo | |
``` | ||
|
||
## Verify image with user-provided trusted chain | ||
Check failure on line 82 in content/en/verifying/verify.md GitHub Actions / markdownlintHeadings should be surrounded by blank lines
|
||
Verify image with the provided certificate chain(s) and identity parameters (intended for | ||
"bring your own PKI" use cases). | ||
* with a single certificate chain file - which may contain one or several intermediate | ||
certificates followed by the root CA certificate - use the `--certificate-chain` parameter: | ||
Verify image with the provided certificate chain and identity parameters (intended for | ||
a "bring your own PKI" use case): | ||
|
||
```shell | ||
$ cosign verify --certificate-chain chain.crt --certificate-oidc-issuer https://issuer.example.com --certificate-identity foo@example.com user/demo | ||
``` | ||
* with a certificate bundle PEM file containing several CA roots and (optionally) | ||
intermediate certificates, use the `--ca-roots` parameter together with `--ca-intermediates`: | ||
```shell | ||
$ cosign verify --ca-roots ca-roots.pem --ca-intermediates ca-intermediates \ | ||
--certificate-oidc-issuer https://issuer.example.com \ | ||
--certificate-identity foo@example.com user/demo | ||
``` | ||
|
||
The `--ca-roots` and `--ca-intermediates` flags are mutually exclusive with `--certificate-chain`. | ||
|
||
## Verify an image on the transparency log | ||
|
||
|