This post is more than 5 years old
1 Rookie
•
19 Posts
0
15792
December 2nd, 2019 13:00
Uploading a private CA (root/intermediate) certificate to iDRAC?
Hi all,
We have already uploaded signed certificate from private CA.
We are having our iDRAC scanned for security vulnerabilities by Qualys.
Our iDRAC is on a network segregated from the production network by ACLs.
We granted Qualys access to scan iDRAC in order to keep compliant with PCI-DSS and FIPS requirements.
Qualys is reporting the certificate is not trusted.
Our browsers trust our private CA, but PCI requirements won't allow Qualys to trust our private CA.
Our only solution is to upload our CA bundle to the iDRAC.
As per TLS spec, server certificates can include the CA bundle in the same file in the following format:
server certificate, then intermediate CA, then root CA.
So there would be 3 BEGIN CERTIFICATE lines and 3 END CERTIFICATE lines.
I did successfully integrate the 3 certificates into one file in the above format. But the iDRAC indicates that the certificate is invalid and to check it in OpenSSL. I was able to verify the certificate in OpenSSL without issues.
Please advise how we can upload all 3 certificates.



DELL-Shine K
4 Operator
•
3K Posts
1
December 3rd, 2019 19:00
In iDRAC, Once you upload a certificate you can not upload the same certificate again. You are seeing the error message because of this. Can you try below steps
Speeddymon
1 Rookie
•
19 Posts
0
December 2nd, 2019 13:00
https://certsimple.com/help/combining-intermediate-and-certificate
This was the instructions I followed to combine the certificates.
DELL-Shine K
4 Operator
•
3K Posts
0
December 2nd, 2019 21:00
To upload certificate chain to iDRAC you need to follow below steps. Combining 2 certificate to one file will not work for iDRAC
Now you can upload "certificateChain.cer" to iDRAC
Speeddymon
1 Rookie
•
19 Posts
0
December 3rd, 2019 10:00
Hi, unfortunately these steps also fail with the same error.
I downloaded the SSL certificate from iDRAC and then combined it with our intermediate and root certificates using the commands you provided
openssl crl2pkcs7 -nocrl -certfile server.pem -certfile int.pem -certfile root.pem -out server_chain.p7b
openssl pkcs7 -print_certs -in server_chain.p7b -out server_chain.pem
I then verified the certificate with
openssl x509 -noout -text -in server_chain.pem
Then I tried to upload and got this error.
RAC0622: An invalid certificate file is uploaded. Make sure the CA certificate and private key are correct and retry the operation. The certificate can be validated using the OpenSSL tools.
I also tried to rename the pem file to "chain.cer" and upload, but still no success.
Speeddymon
1 Rookie
•
19 Posts
0
December 5th, 2019 11:00
Hi Shine. Thanks for that detail about not uploading a new cert until a new CSR is generated.
I was able to upload the new combined cert once I did that and got it signed.
However, I will point out that it is advised NOT to combine the *Root* CA into the certificate. Only *intermediate* certificates are required, and we got a warning from our cert checker tool about it once we uploaded. So I am generating a new CSR now and will combine only the intermediate cert with the server cert going forward.
Thanks again for your great help!
miesi
2 Posts
0
October 8th, 2020 00:00
Hi Shine,
this works great for iDRAC9 FW 4.10+
I have had no luck with iDRAC8 FW 2.75. Can you please take a look if it is possible to upload intermediate + host certificate to iDRAC7/8?
Thanks
Thomas
DELL-Shine K
4 Operator
•
3K Posts
0
October 8th, 2020 02:00
I am able to upload a chain certificate to iDRAC 7/8 with same steps. Can you let me know where exactly you seeing the failure. Is upload of chain certificate to iDRAC failing? If yes let me know if you see any specific error message.
miesi
2 Posts
0
October 8th, 2020 06:00
Hi Shine,
I repeated the whole process from csrgen to sslcertupload. It works flawlwessly on iDRAC 7 and 8.
I probably hit a corner case when I first tried to upload the same certificate as was already installed with the intermediate attached.
Thanks for looking into.
Cheers Thomas
matsura
1 Rookie
•
7 Posts
0
July 26th, 2023 08:00
Link no longer works. This thread joins the hundreds of other threads at the top of google search results that just offer links that no longer work.
Mvipe
1 Rookie
•
3 Posts
1
November 25th, 2024 15:59
(edited)