1
0
mirror of synced 2026-10-24 12:59:22 +03:00
Files
saso c61504db67 fix handling of verify-attestation types for URIs (#2159)
* fix handling of verify-attestation types for URIs

Signed-off-by: Akira Saso <sasoakira6114@gmail.com>

* test: add a test to verify URI-type attestation

Signed-off-by: Akira Saso <sasoakira6114@gmail.com>

* test: fix cue used in verify-attstation

Signed-off-by: Akira Saso <sasoakira6114@gmail.com>

Signed-off-by: Akira Saso <sasoakira6114@gmail.com>
2022-08-16 10:37:51 -04:00
..
2022-07-06 10:51:15 -05:00
2022-07-06 10:51:15 -05:00

Generate Certificate

If the test/testdata/test_blob_cert.pem expire you can generate a new certificate to use in the tests running the following command:

$ openssl req -key test/testdata/test_blob_private_key -x509 -days 3650 -out cert.pem -new -nodes

You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) []:US
State or Province Name (full name) []:CA
Locality Name (eg, city) []:SF
Organization Name (eg, company) []:Company
Organizational Unit Name (eg, section) []:Unit
Common Name (eg, fully qualified host name) []:www.example.org
Email Address []:email@email.com

and then you replace the old test/testdata/test_blob_cert.pem with the new certificate.