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.
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
Create a CSR from iDRAC
Get it signed using your private CA
Combined signed certificate, intermediate CA and root CA certificate using below command
Convert PKCS #7 (.p7b) file to Base64 (PEM) format using below openssl command. This is required as iDRAC only support uploading base64 format certificate
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.
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.
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.
Combine the signed certificate, intermediate CA and root CA certificate using the command, you will need to separate your BUNDLED CRT into the intermediate and root crt:
You can use the link here to figure out how to separate your bundle if you do not know how:
Next, upload the server_chain.pem to the iDRAC, it will prompt you to restart the iDRAC, you will be stuck using the old certificate until the iDRAC resets. This will not reboot your machine, it will only restart your iDRAC. During this time, your iDRAC will not be accessible.
Profit.
Credit goes to Shine for the main explanation which when I did it the first time was not enough so I added this to complete the process.
DELL-Shine K
6 Operator
•
3042 Posts
12529
1
Posted 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