LarryDNail

updated

5 years ago

L

LarryDNail

1 Rookie

9 Posts

0

119463

September 15th, 2014 18:00

Drac 7 - generate new self-signed certificate

Trying to generate a new self-signed cert via the DRAC, but keep the size to 2048 bits.

racadm config -g cfgRacSecurity -o cfgRacSecCsrKeySize 2048

sslresetcfg sets the cert back to 1024... 

racadm sslresetcfg

Any advise on how to get a 2048 self-signed certificate?

  • DELL-Shine K

    6 Operator

    3042 Posts

    21895

    2

    Posted June 4th, 2015 10:00

    iDRAC 7 2.10.10.10 Firmware onwards iDRAC have default certificate with 2048 bit. You can update iDRAC to 2.10.10.10 and perform "racadm sslresetcfg" command to load default certificate from 2.10.10.10 firmware.

    iDRAC7 2.10.10.10 Firmware is available @ http://www.dell.com/support/home/us/en/19/Drivers/DriversDetails?driverId=Y5K20&fileId=3445456701&osCode=NAA&productCode=poweredge-r820&languageCode=EN&categoryId=LC

  • DELL-Chris H

    7 Practitioner

    9682 Posts

    48046 Points

    21895

    0

    Posted September 16th, 2014 06:00

    Larrydnail,

    With creating the self-signed cert via the drac you are actuall already on the right track. You set all the objects under cfgRacSecurity Group. Then you set object "cfgRacSecCsrKeySize" to "2048". From there you would need to do the following;

    Generate the CSR file on the iDRAC using the command-    racadm sslcsrgen -g

    Then you can download the CSR using the command - racadm sslcsrgen -f

    Let me know if this helps answer your question.

    DELL-Chris H

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!

  • LarryDNail

    1 Rookie

    9 Posts

    21895

    0

    Posted September 19th, 2014 06:00

    Chris,

    I'm trying to avoid generate CSR, getting a new cert, uploading a new cert, etc...

    Is there a way set the drac to 2048 by default so it gens a self-signed cert with the SSLRESET command?

     

  • hear5am

    1 Rookie

    2 Posts

    21895

    0

    Posted June 4th, 2015 09:00

    I am also trying to re-generate the same 2048-bit self-signed certificate within the iDRAC without the use of an external signing authority.  If the original cert was automatically generated for the iDRAC, it stands to reason another can be generated similarly.  Any help to do this would be greatly appreciated.

  • RJRM

    1 Message

    11059

    0

    Posted July 21st, 2021 03:00

    This has not worked for me.

    PowerEdge R620, Server 2012 R2, iDRAC 7 Enterprise 2.63.60.62 > 2.65.65.65

    SSL certificate is still expired after the update and when trying to use the racadm sslresetcfg command to renew it, I get the following errors:

    Command Prompt:

    'racadm' is not recognized as an internal or external command,
    operable program or batch file.

    PowerShell:

    racadm : The term 'racadm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
    if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + racadm sslresetcfg
    + ~~~~~~
    + CategoryInfo : ObjectNotFound: (racadm:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    Should I be running this command in another tool?

  • DELL-Shine K

    6 Operator

    3042 Posts

    11036

    0

    Posted July 21st, 2021 05:00

    You need to install iDRAC Tools or OMSA on the server operating system to run racadm commands. You can also SSH to iDRAC IP and run the racadm command. What operating system you have on the server?

  • Kelyn

    1 Rookie

    2 Posts

    8213

    0

    Posted February 15th, 2022 22:00

    The current update for Idrac 7 certificate expired in June of 2021, when is Dell going to create and new firmware updating the certificate?

  • DELL-Joey C

    Moderator

    4170 Posts

    20965 Points

    8207

    0

    Posted February 16th, 2022 01:00

    Hi @Kelyn,

     

    The self sign certificate is autogenerated after expiry. If you still face the expired certificate, please contact us supports to check for updates. 

    DELL-Joey C

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did. 

  • DELL-Shine K

    6 Operator

    3042 Posts

    8200

    1

    Posted February 16th, 2022 02:00

    Can you try below command and see whether a new certificate get generated

    racadm sslresetcfg