dell / iDRAC-Redfish-Scripting

Python and PowerShell scripting for Dell EMC PowerEdge iDRAC REST API with DMTF Redfish
GNU General Public License v2.0
584 stars 273 forks source link

Export/import certificates #293

Closed sergio-equinix closed 3 months ago

sergio-equinix commented 4 months ago

Hello,

I'm trying to use ExportImportSSLCertificateREDFISH.py with idrac 8 and 2.85.85.85 firmware version. The script is not working with "error - WARNING, iDRAC version installed does not support this feature using Redfish API". I think that redfish api URL for this pourpose have been changed. Could you give me support? I can't find a lot of information in Dell manuals.

Thanks

texroemer commented 4 months ago

Hi @sergio-equinix

iDRAC8 does not support Redfish OEM actions for managing iDRAC certificates or DMTF CertificateService, this support is only available for iDRAC9 releases.

To manage iDRAC certificates remotely for iDRAC8 you'll need to leverage RACADM. Supported commands below from "racadm help" command:

sslcertupload -- upload an SSL certificate to the RAC sslcertdelete -- delete an SSL certificate on the iDRAC sslcertdownload -- download an SSL certificate from the RAC sslcertview -- view SSL certificate information sslcsrgen -- generate a certificate CSR from the RAC sslencryptionstrength -- Deprecated: Display or modify the SSL Encryption strength. sslkeyupload -- upload an SSL key to the RAC sslresetcfg -- Reset iDRAC to apply new certificate. Until iDRAC is reset old certificate will be active.

Thanks Tex