seveas / python-hpilo

Accessing the HP iLO XML interface from python
https://seveas.github.io/python-hpilo
Other
321 stars 102 forks source link

hpilo_cli import_certificate - Internal CA singed cert import error #250

Open Kirandp6 opened 3 years ago

Kirandp6 commented 3 years ago

Hi,

I tried -

hpilo_cli 10.xxxx import_certificate certificate="$(cat /root/path)"

( this is same cert worked fine on Dell idrac .. so cert seems ok )

Traceback (most recent call last): File "/bin/hpilo_cli", line 334, in main() File "/bin/hpilo_cli", line 214, in main results = [getattr(ilo, method)(**params)] .. hpilo.IloError: Invalid certificate common name

Here the ilo name was used as SAN name .. and not the common name

is this limilation from HP ilo or hpilo_cli

thanks