...

Text file src/github.com/sigstore/cosign/v2/test/testdata/README.md

Documentation: github.com/sigstore/cosign/v2/test/testdata

     1# Generate Certificate
     2
     3If the `test/testdata/test_blob_cert.pem` expire you can generate a new certificate to use in the tests running the
     4following command:
     5
     6```shell
     7$ openssl req -key test/testdata/test_blob_private_key -x509 -days 3650 -out cert.pem -new -nodes -subj "/" -addext "subjectAltName = email:foo@example.com"
     8```
     9
    10and then you replace the old `test/testdata/test_blob_cert.pem` with the new certificate.

View as plain text