White Papers

Version 1.6.0 35
8.10 DCIM_LCService.SetCertificateAndPrivateKey()
523
The SetCertificateAndPrivateKey() method is used to set iDRAC owned server certificate and public and
524
private key pairs using the contents of a PKCS#12 file. iDRAC will serve the certificate to identify itself
525
during web server based connections such as for iDRAC’s web application and WSMan instrumentation
526
connections. The certificate will also be served for connections with directory services.
527
Table 37 DCIM_LCService.SetCertificateAndPrivateKey() Method: Return Code Values
528
Value
Description
0
Request was successfully executed.
2
Error occurred
Table 38 DCIM_LCService.SetCertificateAndPrivateKey() Method: Parameters
529
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 39 DCIM_LCService.SetCertificateAndPrivateKey() Method: Standard Messages
530
MessageID (OUT parameter)
Message
MessageArguments[]
LC002
General failure
LC016
Missing required parameter
"Type", "PKCS12","PKCS12pin"
LC017
Invalid value of parameter
"Type", "PKCS12","PKCS12pin"
531
532