linux-tg

updated

2 years ago

LT

linux-tg

1 Rookie

•

15 Posts

0

156

August 20th, 2024 11:36

Unable to upload private ssl key

Hi!

When i try to upload my private sslkey i get an error.

root# /opt/dell/srvadmin/bin/idracadm7 -r <hostname> -uroot -p<password> sslkeyupload -f /etc/certificate/private_key.pem -t 1
Security Alert: Certificate is invalid - self-signed certificate
Continuing execution. Use -S option for racadm to stop execution on certificate-related errors.
rc != 0ERROR: Unable to perform requested operation.

It does not matter if my cert is created with type RSA or ECDSA

I know this happened in the past with older dracs, but this is an idrac9 (Enterprise)with firmware 7.00.00.173 

Cheers,

  • DELL-Charles R

    Moderator

    •

    4730 Posts

    •

    25476 Points

    0

    1

    Posted August 20th, 2024 16:00

    Hello,

     

    I think these resources can guide you:

     

    How to import an externally created custom certificate and private key into the iDRAC

    https://dell.to/3Me1DaQ

     

    Obtaining certificates, SSL server certificates

    Page 94-98

    https://dell.to/3WRKLvp

     

    Tutorial on iDRAC Web Server Certificates

    https://dell.to/3WPmXIN

     

    iDRAC9 Security Configuration Guide

    https://dell.to/3WT1FtF

    Securely Using TLS/SSL Certificate page 13

     

    DELL-Charles R

    Social Media and Communities Professional
    Dell Technologies | Enterprise Support Services
    #IWork4Dell

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

  • linux-tg

    1 Rookie

    •

    15 Posts

    0

    0

    Posted September 24th, 2024 15:56

    Hi Charles,

    The tutorials are nice but with all respect i know how to upload the SSL stuff and create them. It did trigger me that in all those examples the -i flag is used. This is the interactive way and works always.. If you have special characters in your password some strange things happen when providing it with -p That is i think what casued the error i mentioned in this ticket. rc != 0Error
    Would be nice to see explained where that error is comming from

    (edited)