Server Management - Remote Server Management

Connect-HPEiLO using SmartCard (certificate)

 
PhS-
Frequent Advisor

Connect-HPEiLO using SmartCard (certificate)

Hello, 

We have configured the iLO to use "Zero Sign In" (kerberos), and it is working properly.
What about PowerShell ?
I would like to be able to use the HPEiLOcmdlets using kerberos. ( idealy, connect with my certificat ) ... something like

Connect-HPEiLO -IP xxx.xxx.xxx.xxx -Certificate $cert


Is it possible ?
iLO 4 version 2.77 (Gen9 Proliant)

7 REPLIES 7
PhS-
Frequent Advisor

Re: Connect-HPEiLO using SmartCard (certificate)

I have tried the following :

1. Get-Credential - smartcard copy.png

But the connection fails 

2. Connect-HPEiLO fails .png

PhS-
Frequent Advisor

Re: Connect-HPEiLO using SmartCard (certificate)

No suggestion, nothing ... it seems that this community is not used anymore.

SanjeevGoyal
HPE Pro

Re: Connect-HPEiLO using SmartCard (certificate)

Hello,

Your query is not clear.

Please share what is exact issue or your query.
 Follow the below documents, if you are looking “What about PowerShell ?”

https://en.wikipedia.org/wiki/PowerShell

 

https://docs.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.1

 

If you feel this was helpful please click the KUDOS! thumb below!   

Regards,


I am a HPE Employee

Accept or Kudo

PhS-
Frequent Advisor

Re: Connect-HPEiLO using SmartCard (certificate)

My query is the following.

I have DL380 Gen 9 servers, so iLO 4. I have configured these iLO for Zero Sign In which works fine (my user is authenticated in the browser automaticaly, no need to provide credentials - Kerberos authentication).

My user is Smart Card only.

Now I would like to use powershell to the iLO, so using

Connect-HPEiLO -IP xxx.xxx.xxx.xxx

But how can I authenticate ?

SanjeevGoyal
HPE Pro

Re: Connect-HPEiLO using SmartCard (certificate)

Hello

 

Please try as below.

 

A pre-requisite for this is to install the iLO cmdlet’s on your computer. They can be downloaded here

https://buy.hpe.com/us/en/software/infrastructure-management-software/system-server-management-software/hpe-system-server-software-management-software/scripting-tools-for-windows-powershell/p/5440657

 

HPE ProLiant iLO Configuration using PowerShell

1.    Add a DNS A record on the local Domain Controller for the iLO.

2.    Add the standard login details we use for authentication (local users, no AD authentication)

3.    Remove the default login.

4.    Patch up the the latest firmware revision.

5.    Add the iLO Advanced license key.

6.    Configure iLO Network and hostname.

7.    Configure SNTP.

8.    Configure SNMP.

Setup AlertMail

Change the Power options

 

Or Follow the below customer advisory

 

Scripting Tools for Windows PowerShell: iLO 1.x - Authentication Parameters for iLO

https://support.hpe.com/hpesc/public/docDisplay?docId=a00036986en_us&docLocale=en_US

 

If you feel this was helpful please click the KUDOS! thumb below!   

Regards,


I am a HPE Employee

Accept or Kudo

PhS-
Frequent Advisor

Re: Connect-HPEiLO using SmartCard (certificate)

Thank you for your reply, but this does not lead to anything ...

Yes I have the iLO cmdlet's installed (else I would not be able to launch the Connect-HPEiLO.

My iLO are correctly confgured regarding DNS, Firmware, NTP. I have a Advance Key. all is good and working properly. I can authenticate to the iLO using my browser whith my Windows account (iLO configured with ZeroSign In / Kerberos).

But I want to be able to connect to the iLO using PowerShell with my account (Smart Card Only) ... how can I do that ?

SanjeevGoyal
HPE Pro

Re: Connect-HPEiLO using SmartCard (certificate)

Hello,

 

I would suggest, you have to log a proper case with HPE, and share the appropriate logs for further analysis.


I am a HPE Employee

Accept or Kudo