This method is used to import the ssl certificate to iDRAC, on the basis of input parameter Type. After importing the certificate, the iDRAC will automatically restart.
Privilege: ConfigureManager, Login
NOTE: Passphrase is an optional parameter for CSC certificate, and not required for Server and CA certificates.
NOTE: To import a CSC or Custom certificate, first convert the certificate into a base64-encoded string format and ensure it is formatted to have 64 characters per line. Use this converted string value for the SSLCertificateFile property.
NOTE: Passing an incorrect PKCS#12 password during CSC certificate upload will result in an LC073 error.
X-Auth-Token: ********************username:passwordAuthorization: Basic *****************curl --location '/redfish/v1/Managers//Oem/Dell/DelliDRACCardService/Actions/DelliDRACCardService.ImportSSLCertificate' \
--header 'X-Auth-Token: <api-key>' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"CertificateType": "CustomCertificate",
"Passphrase": "PassphraseString",
"SSLCertificateFile": "Certificate file string"
}'{
"error": {
"@Message.ExtendedInfo": [
{}
],
"code": "string",
"message": "string"
}
}