6

I have about 14 Dell M1000e chassis and corresponding 224 blades. I just received a wildcard SSL cert, but don't want to manually visit each administrative page to upload the cert/key. I understand the racadm command can do this for me, but the documentation falls a bit short. Is anyone willing to help me out a bit? I do not have any of the tools available from Dell installed on my workstation or servers, but have access to them if needed.

Dave M
  • 4,494
  • 21
  • 30
  • 30
erimar77
  • 488
  • 2
  • 8
  • `racadm help sslcertupload`? – Mathias R. Jessen Feb 10 '12 at 00:57
  • It doesn't let me upload my own private key. – erimar77 Feb 28 '12 at 20:16
  • 1
    As I read and understand the documentation, no, that is correct. It will only work when you sign a CSR generated with `racadm sslcsrgen` – Mathias R. Jessen Feb 28 '12 at 20:28
  • Ask me next week. :P I'm about to try and figure this out myself. – Tom O'Connor Mar 04 '12 at 00:06
  • 1
    I don't know your product specifics but there are generic ways to automate any operation. You can try expect to automate tasks on the comand line. You can use curl or if you know some language some http library to interact with a web interface. Also you can use selenium to record and run http sessions. Not really as easy as you want but for 224 blades it's worth it :) – akostadinov Mar 22 '12 at 07:36

1 Answers1

2

The set of racadm commands that you need is sslkeyupload and sslcertupload. On a Dell M1000e these should be run using the idracadm tool (the ssh interface does not allow you to upload files). On other Dell servers you would have to use the tool corresponding to the (iD)RAC version, i.e. racadm4, racadm5, idracadm, or idracadm7.

Something like idracadm sslkeyupload -t 1 -f path/to/key.pem and idracadm sslcertupload -t 1 -f path/to/wildcard-cert.pem should do the trick for you.

The iDRAC documentation has more information about these commands.

chutz
  • 7,569
  • 1
  • 28
  • 57