Hello. I try to upload remotly an SSL LDAP certificat on a DELL server, by using the "racadm sslcertupload" command, but this one generate the following error:
ERROR Failed to upload the Certificate
ERROR: an invalid certificate is uploaded.
PS1: The used certificat is certified by an athority of certification (CA). PS2: I have created also an auto -certified certificate and used it, but I have the same error.
While uploading LDAP SSL certificate to iDRAC you need to upload Root CA Certificate from where certificate is created for LDAP server. You also need to use Base64 format for certificate while trying to upload certificate to iDRAC
I have copied the CA cert to my current directory and run the racadm command but it gave me the same error:
cp /etc/openldap/certs/my_ca_certificat.pem .
sudo /opt/dell/srvadmin/sbin/racadm sslcertupload -t2 -f My_cert_file
ERROR: An invalid certificate is uploaded.
For the second suggestion, can you give me please the syntaxe to use to provide an absolute path of CA cert. I have used the -k but it doesn't work.
sudo /opt/dell/srvadmin/sbin/racadm sslcertupload -t2 -f My_cert_file -k /etc/openldap/cacerts/my_ca_certificat.pem
ERROR: The syntax of the command specified is not correct.
For obsolete path you need to mention "-f /etc/openldap/cacerts/my_ca_certificat.pem". There is no need to have -k option
So after "-f" I think that it is not "my_ca_certificat.pem" that must be used but "My_cert_file".
But, as I said in my previous post, when I use the following command "sudo /opt/dell/srvadmin/sbin/racadm sslcertupload -t 2 -f My_cert_file" it generate an error.
-t 2 option is for uploading certificate to iDRAC for AD/LDAP authentication. Here you need to upload root CA certificate which is used to sign AD/LDAP Server certificate. For AD/LDAP login there is no need to create a certificate for iDRAC and upload.
Liloulinx
2 Intern
•
19 Posts
14826
0
Posted October 3rd, 2018 02:00
Hello.
Finally the problem is resolved by updating the firmware (or juste by the RESET of the iDRAC).
Thank you