White Papers
Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows  Version: 2.1.0 
98 
EXAMPLE: 
winrm i DeleteAutoDiscoveryClientCerts 
http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCService 
?SystemCreationClassName=DCIM_ComputerSystem 
+CreationClassName=DCIM_LCService 
+SystemName=DCIM:ComputerSystem 
+Name=DCIM:LCService 
-u:%USERNAME% -p:%PASSWORD%  
-r:https://%IPADDRESS%/wsman  
-encoding:utf-8 -a:basic -SkipCACheck -SkipCNCheck -skiprevocationcheck  
OUTPUT: 
DeleteAutoDiscoveryClientCerts_OUTPUT 
 ReturnValue = 0 
12.9  Set Public Certificates 
This method is used to update a public SSL Certificate on the iDRAC. 
Invoke SetPublicCertificate() with the following parameters and syntax: 
Type: Specifies certificate service 
directoryCA = certificate for Active Directory or LDAP server 
EXAMPLE: 
winrm i SetPublicCertificate http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService 
?SystemCreationClassName=DCIM_ComputerSystem 
+CreationClassName=DCIM_LCService 
+SystemName=DCIM:ComputerSystem 
+Name=DCIM:LCService 
-u:[USER] -p:[PASSWORD] 
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck  
-encoding:utf-8 -a:basic -file:SetPublicCertificate.xml 
The input file SetPublicCertificate.xml is shown below: 
<p:SetPublicCertificate_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService"> 
<p:Type>directoryCA</p:Type> 
<p:Certificate> 
-----BEGIN CERTIFICATE----- 
MIID9DCCA12gAwIBAgIBADANBgkqhkiG9w0BAQQFADCBszELMAkGA1UEBhMCVVMx 
CzAJBgNVBAgTAlRYMQ8wDQYDVQQHEwZBdXN0aW4xDTALBgNVBAoTBERlbGwxFjAU 
. 
. 
. 
H/ea71Ltbr/Au2QFhqcHkeUEbQ4qXSXTmDEgeKAImKjoCAaWHcDqEwvUcxGI4ekG 
LaUEGQhQIcLe+03RDp05j+YPoIv/N10OGMflhWg/lJ3EoV1Zba2tXnCp8XvCukJC 










