White Papers

30 Version 1.5.0
8.9 DCIM_LCService.SetCertificateAndPrivateKey() 479
The SetCertificateAndPrivateKey() method is used to set iDRAC owned server certificate and public and 480
private key pairs using the contents of a PKCS#12 file. iDRAC will serve the certificate to identify itself 481
during web server based connections such as for iDRAC’s web application and WSMan instrumentation 482
connections. The certificate will also be served for connections with directory services. 483
Table 34DCIM_LCService.SetCertificateAndPrivateKey() Method: Return Code Values 484
Value Description
0 Request was successfully executed.
2 Error occurred
Table 35DCIM_LCService.SetCertificateAndPrivateKey() Method: Parameters 485
Qualifiers Name Type Description/Values
IN, REQ Type string This parameter specifies the certificate use.
Note: The parameter shall have “server”
value.
IN, REQ PKCS12 string
An input parameter that represents the
Base64 encoded contents of PKCS#12 file
to set. Note this is the content of the file
and not a file name.
IN, REQ PKCS12pin string Password to decode the PKCS12.
OUT MessageID String
Error Message ID can be used to index into
Dell Message registry files.
OUT Message String
Error Message in English corresponding to
MessageID is returned if the method fails to
execute.
OUT MessageArguments[] String
Substitution variables for dynamic error
messages.
Table 36DCIM_LCService.SetCertificateAndPrivateKey() Method: Standard Messages 486
MessageID (OUT parameter) Message MessageArguments[]
LC002 General failure
LC016 Missing required parameter "Type", "PKCS12","PKCS12pin"
LC017 Invalid value of parameter "Type", "PKCS12","PKCS12pin"
487
488