seveas / python-hpilo

Accessing the HP iLO XML interface from python

Home Page:https://seveas.github.io/python-hpilo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

method to upload certificate for directory authentication

flaviotorres opened this issue · comments

Hi,

I was wondering if there's a method to upload certificates for directory authentication (AD)?

I'm currently modifying the hpilo_ca to hpilo_msca. It will do everything the hpilo_ca one does, but when it comes to sign the request, it will use an MS CA. I've got most of it working. I have a few bits to fix and then cleanup the code, add some comments, etc. I'm using the Certsrv python module (github.com/magnuswatn/certsrv) for this integration. I'll have it in my repo and will send a pull request to have it included.

That's awesome, I can run a few tests when it is available.

Hi, it's currently in my git repo under examples/ca/ - requires the certsrv python module listed above and you can add the following under the [ca]:

server = your-msca.example.com
ca_login = mscaUser
ca_password = M$caPass

Then you can do ./hpilo_msca -l ilouser -p ilopassword sign ilo-fqdn.example.com

Or ./hpilo_msca -s msca.example.com -L mscaUser -A M$caPass -l ilouser -p ilopassword sign ilo-fqdn.example.com

It's not perfect, but I wanted you to get a chance to test, etc and I'll see if I can fix any issues. Currently, the one thing I have a problem with is more of an ILO2 issue than anything.

-P