<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: iLO5 never generates CSR after running start-hpeilocertificatesigningrequest in Server Management - Remote Server Management</title>
    <link>https://community.hpe.com/t5/server-management-remote-server/ilo5-never-generates-csr-after-running-start/m-p/7148800#M9182</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would recommend to contact HPE Support higher level to get this resolved as it may require deeper analysis and powershell scripting knowledge&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 11:15:02 GMT</pubDate>
    <dc:creator>techin</dc:creator>
    <dc:date>2021-09-13T11:15:02Z</dc:date>
    <item>
      <title>iLO5 never generates CSR after running start-hpeilocertificatesigningrequest</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/ilo5-never-generates-csr-after-running-start/m-p/7147479#M9175</link>
      <description>&lt;P&gt;We have a powershell script that we have been using for quite some time to do all of our org's required configs on our fleet of iLOs.&amp;nbsp; In the last month or so, we have not been able to get a CSR to generate after using the start-hpeilocertificatesigningrequest command.&lt;/P&gt;&lt;P&gt;We have 40 hosts that were racked last week that we're trying to config, iLO 5, firmware version 2.44.&amp;nbsp; Using Powershell module HPEiLOCmdLets version 3.1.0.1&lt;/P&gt;&lt;P&gt;Code snip:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;#Generating CSR
$Result = Start-HPEiLOCertificateSigningRequest -Connection $iLOConnection -State "redacted" -Country "USA" -City "redacted" -Organization "redacted" -OrganizationalUnit "redacted" -CommonName $ilofqdn -IncludeiLOIP

$CSR = ""
$CSR = Get-HPEiLOCertificateSigningRequest -Connection $iLOConnection 
while(-not ($csr.CertificateSigningRequest)) {
        Write-Host "Waiting for CSR to be generated ..."
        start-sleep -Seconds 60
        $CSR = Get-HPEiLOCertificateSigningRequest -Connection $iLOConnection 
}
$CSR.CertificateSigningRequest | Out-File -FilePath "c:\temp\$iloname.csr"
write-host -ForegroundColor Green "SSL Certificate Signing Request for this iLO has been generated and saved at 'C:\Temp\$iloname.csr'."
write-host -ForegroundColor Green "Please generate the certificate from organization AD PKI servers and manually load to the iLO."

&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have been using this particular script for quote some time (a year or more?) and now it's just not working.&amp;nbsp; The iLO never generates a CSR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actual PS console view, with $verbosepreference set to Continue (to show verbose info)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;PS C:\&amp;gt; Start-HPEiLOCertificateSigningRequest -Connection $iLOConnection -State "redacted" -Country "USA" -City "redacted" -Organization "redacted" -OrganizationalUnit "redacted" -CommonName $ilofqdn -IncludeiLOIP
VERBOSE: Executing the cmdlets with 1 task serially.
VERBOSE: [Start-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Validating Cmdlet supportability.
VERBOSE: [Start-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Checking for iLOGeneration, Model and Firmware for Cmdlet Supportability.
VERBOSE: [Start-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Validating parameter supportability.
VERBOSE: [Start-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Checking for iLOGeneration, Model and Firmware for parameter Supportability.
VERBOSE: [Start-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Getting url value from resource instance.
VERBOSE: [Start-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Creating Redfish request.
VERBOSE: [Start-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Retrieving URL's from parameter mapper.
VERBOSE: [Start-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Forming JSON payload for corresponding URL.
VERBOSE: [Start-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Creating Redfish request.
VERBOSE: [Start-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Sending Redfish request to PATCH/POST/DELETE the JSON payload.
VERBOSE: [Start-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Processing JSON response.
VERBOSE: [Start-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Redfish response message: GeneratingCertificate

IP            Hostname                Status StatusInfo                   
--            --------                ------ ----------                   
172.23.104.30 vmw-prd-esx30-mgmt INFORMATION HPE.Framework.Core.StatusInfo&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;And over the next 5-10 minutes, you can just repeatedly get this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PS C:\&amp;gt; Get-HPEiLOCertificateSigningRequest -Connection $iLOConnection
VERBOSE: Executing the cmdlets with 1 task serially.
VERBOSE: [Get-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Validating Cmdlet supportability.
VERBOSE: [Get-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Checking for iLOGeneration, Model and Firmware for Cmdlet Supportability.
VERBOSE: [Get-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Validating parameter supportability.
VERBOSE: [Get-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Getting JSON url for ODataType HpeHttpsCert.
VERBOSE: [Get-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Getting OdataId for OdataType HpeHttpsCert.
VERBOSE: [Get-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Getting url value from resource instance.
VERBOSE: [Get-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: JSON url is /redfish/v1/Managers/1/SecurityService/HttpsCert/
VERBOSE: [Get-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: JSON URL with query is- /redfish/v1/Managers/1/SecurityService/HttpsCert/
VERBOSE: [Get-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Sending Redfish request.
VERBOSE: [Get-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Processing JSON response.
VERBOSE: [Get-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Response Type is HPE.iLO.Response.Redfish.CertificateSigningRequestInfo
VERBOSE: [Get-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Processing complex JSON response.
VERBOSE: [Get-HPEiLOCertificateSigningRequest][vmw-prd-esx30-mgmt][Redfish]: Converting JSON response to its respective output object.


CertificateSigningRequest : 
IP                        : 172.23.104.30
Hostname                  : vmw-prd-esx30-mgmt
Status                    : OK
StatusInfo                : &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked throgh the logs available on the iLO gui and saw nothing relevant.&amp;nbsp; Any one have any idea why our iLOs are no longer generating a CSR from the command?&amp;nbsp; I can go to the GUI and punch in all of the info and generate it; but it's failing from the script on all hosts we've purchased/installed in the last 2 months (that being close to 60 systems).&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 11:20:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/ilo5-never-generates-csr-after-running-start/m-p/7147479#M9175</guid>
      <dc:creator>djceola</dc:creator>
      <dc:date>2021-09-13T11:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: iLO5 never generates CSR after running start-hpeilocertificatesigningrequest</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/ilo5-never-generates-csr-after-running-start/m-p/7148800#M9182</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would recommend to contact HPE Support higher level to get this resolved as it may require deeper analysis and powershell scripting knowledge&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 11:15:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/ilo5-never-generates-csr-after-running-start/m-p/7148800#M9182</guid>
      <dc:creator>techin</dc:creator>
      <dc:date>2021-09-13T11:15:02Z</dc:date>
    </item>
  </channel>
</rss>

