Scroll to navigation

pvattest-create(1) Attestation Manual pvattest-create(1)

NAME

pvattest [OPTION?] create [OPTIONS] - create an attestation measurement request

DESCRIPTION

Prepare attestation measurement requests for an IBM Secure Execution guest. Only prepare attestation requests in a trusted environment, such as your workstation. The 'pvattest create' command creates a randomly generated key to protect the attestation request. This key is only valid for this specific request. In order to avoid compromising the attestation, do not publish the protection key and delete it after verification. Every 'create' command generates a new, random protection key.

OPTIONS

Prints usage information, then exits.
Specify one or more host key documents. At least one is required. Specify this option multiple times to create an attestation request control block that is usable on multiple hosts.
Specifies the certificate that is used to establish a chain of trust for the verification of the host-key documents. Specify this option twice to specify the IBM Z signing key and the intermediate CA certificate (signed by the root CA). Required. Ignored when --no-verify is specified.
Specifies the revocation list that is used to check whether a certificate of the chain of trust is revoked. Specify this option multiple times to use multiple CRLs (optional).
Specifies the root CA certificate for the verification. If omitted, the system wide root CAs installed on the system are used. Use this only if you trust the specified certificate. Optional.
FILE specifies the output for the attestation request control block.
Save the protection key as GCM-AES256 key in FILE Do not publish this key, otherwise your attestation is compromised.
Disable the host-key document verification. Does not require the host-key documents to be valid. Do not use for a production request unless you verified the host-key document before (optional).
Specifies offline mode, in which no attempt is made to download CRLs. (optional).
Provide more detailed output (optional).

EXAMPLE

Create an attestation request with the protection key 'arp.key', write the request to 'arcb.bin', and verify the host-key document using the CA-signed key 'DigiCertCA.crt' and the intermediate key 'IbmSigningKey.crt'.


pvattest create -k hkd.crt --arpk arp.key -o attreq.bin --cert DigiCertCA.crt --cert IbmSigningKey.crt
Create an attestation request with the protection key 'arp.key', write the request to 'arcb.bin', verify the host-key document using the CA-signed key 'DigiCertCA.crt' and the intermediate key 'IbmSigningKey.crt', and instead of downloading the certificate revocation list use certificate revocation lists 'DigiCertCA.crl', 'IbmSigningKey.crl', and 'rootCA.crl'.


pvattest create -k hkd.crt --arpk arp.key -o attreq.bin --cert DigiCertCA.crt --cert IbmSigningKey.crt --offline --crl DigiCertCA.crl --crl IbmSigningKey.crl --crl rootCA.crl

SEE ALSO

pvattest(1), pvattest-verify(1), pvattest-perform(1)

07 June 2022 s390-tools