Reference Guide

241 Lifecycle Controller Web Services Interface Guide for Linux
NFS=0, CIFS=2, HTTP=5 , HTTPS=6
ShareName: Name of the CIFS share or full path to the NFS share. This may be treated as the path
of the directory containing the file.
Username: The username to be used to access the file.
Password: The password to be used to access the file.
Workgroup : Name of the workgroup for CIFS Share authentication.
FileName: file name of the certificate to be import from the network share.
CertificateType: Type of the certificate.
1=PK, 2 = KeK , 3 = DB, 4 = DBX.
CertificateSubType: Value of the certificate sub type.
1 = Certificate, 2 = SHA256 , 3 = SHA384, 4 = SHA512.
FileName: File Name to be stored in the network share.
CertificateIdentifier: Unique identifier of the particular certificate.
Proxy parameters are used when the share type is HTTPS.
ProxySupport: It specifies if the proxy is to be used or not.
1 = OFF, 2 = On-use user default proxy setting, 3 = On-Use passed in parameters for proxy.
IgnoreCertWarning: It specifies if certificate warning is to be ignored when the share type is HTTPS.
1 = Off , 2 = On
ProxyType : It specifies the proxy type of the proxy server
0 = HTTP , 1 = SOCKS
ProxyServer : It specify the IP address of the proxy server.
ProxyUname: It specify the username of the proxy server.
ProxyPasswd: It specify the password of the proxy server.
ProxyPort: It specify the port of the proxy server.
EXAMPLE:
ShareType = 6 (HTTPS)
wsman invoke -a ExportBootCertificate
"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 export_boot_cert.xml -j utf-8 -y basic
The input file export_boot_cert.xml is shown below:
<p:exportbootcertificate_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_BIOSC
ertService">
<p: Certificatetype>3</p: Certificatetype >
<p: CertificateSubType>1</p:CertificateSubType >
<p: FileName >DB.cert</p: FileName >
<p: CertificateIdentifier>58:0A:6F:4C:00:E4:B6:69:B9:EB:DC:1B:2B:3E:08:7B:8
0:D0:67:00</p: CertificateIdentifier>
<p: Username>NetworkShareUserName</p:Username>
<p: Password> NetworkSharePassword</p: Password>
<p: ShareType>6</p: ShareType>
<p: ShareName>ShareName</p: ShareName>