Reference Guide

243 Lifecycle Controller Web Services Interface Guide for Linux
Invoke ResetBootCertificate() with the following parameters and syntax:
CertificateType: It Specifies the Certificate Type.
0 ALL, 1 = PK, 2 = KeK, 3=DB, 4 = DBX.
EXAMPLE:
wsman invoke -a ResetBootCertificate
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_BiosCertServ
ice?SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_BiosCer
tService,SystemName=DCIM:ComputerSystem,Name=DCIM:BiosCertService"
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J reset_boot_cert.xml -j utf-8 -y basic
The input file reset_boot_cert.xml is shown below:
<p: resetbootcertificate_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_BIOSC
ertService">
<p: Certificatetype>1</p: Certificatetype >
</p: resetbootcertificate_INPUT>
OUTPUT:
<n1:ResetBootCertificate_OUTPUT>
<n1:Message>The SecureBoot Certificate Reset operation is successfully
scheduled. Restart the host server for the changes to take
effect.</n1:Message>
<n1:MessageID>SWC9008</n1:MessageID>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:ResetBootCertificate_OUTPUT>