<?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: Powershell cmdlet to install a CA certificate on c7000 Onboard Administrator in BladeSystem - General</title>
    <link>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7007156#M21202</link>
    <description>&lt;P&gt;Firmware 4.80 is installed across our fleet.&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sent with BlackBerry Work&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 May 2018 08:20:41 GMT</pubDate>
    <dc:creator>Steve_Tippett</dc:creator>
    <dc:date>2018-05-28T08:20:41Z</dc:date>
    <item>
      <title>Powershell cmdlet to install a CA certificate on c7000 Onboard Administrator</title>
      <link>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7006329#M21198</link>
      <description>&lt;P&gt;I have 200 c7000 enclosures and need to get valid SSL certificates installed on them via Powershell.&amp;nbsp; Generating the .csr file is working fine via Powershell.&lt;/P&gt;&lt;P&gt;But when I try to use the Add-HPOACertificate command (from the HPOAcmdlets module) to install the .cer file, I get an error.&amp;nbsp; My .cer file is legit - I can browse to the OA GUI and paste the file contents in - the&amp;nbsp;OA resets and then I can see my new certificate.&amp;nbsp;&amp;nbsp; But when I try scripting the install using the Add-HPOACertificate command, it quickly returns the error "The CA certificate is invalid."&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the 2 key lines in the Powershell script:&lt;/P&gt;&lt;P&gt;$Target_Cert = Get-Content $Certificate_File -Raw&lt;/P&gt;&lt;P&gt;$Result = Add-HPOACertificate -Connection $Target_OA -Type CA -Certificate $Target_Cert&lt;/P&gt;&lt;P&gt;When I display the contents of $Target_Cert it looks good, and piping it thru Get-Member confirms the data type is String.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 18:27:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7006329#M21198</guid>
      <dc:creator>Steve_Tippett</dc:creator>
      <dc:date>2018-05-18T18:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet to install a CA certificate on c7000 Onboard Administrator</title>
      <link>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7007062#M21201</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which OA firmware version are you using ?&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2018 05:56:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7007062#M21201</guid>
      <dc:creator>GZahidi</dc:creator>
      <dc:date>2018-05-25T05:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet to install a CA certificate on c7000 Onboard Administrator</title>
      <link>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7007156#M21202</link>
      <description>&lt;P&gt;Firmware 4.80 is installed across our fleet.&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sent with BlackBerry Work&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 May 2018 08:20:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7007156#M21202</guid>
      <dc:creator>Steve_Tippett</dc:creator>
      <dc:date>2018-05-28T08:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet to install a CA certificate on c7000 Onboard Administrator</title>
      <link>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7007269#M21203</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can not add SSL certificate through Cmdlet. You need to do it through Web login.&lt;/P&gt;&lt;P&gt;Though you can get the SSL certificate info by using Cmdlet Get-HPEOAcertificate -Type OA .&lt;/P&gt;&lt;P&gt;In your case you are adding SSL certificate and trying to Add certifcate as CA certificate, becuase of this&amp;nbsp; you are getting error as invalid certificate.&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 07:06:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7007269#M21203</guid>
      <dc:creator>GZahidi</dc:creator>
      <dc:date>2018-05-29T07:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet to install a CA certificate on c7000 Onboard Administrator</title>
      <link>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7010133#M21221</link>
      <description>&lt;P&gt;Use the following cmdlet to import SSL certificate to OA&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Start-HPOACertificateDownload -Connection $connection -Type OA -URL &lt;A href="ftp://10.12.23.17/cer_southking/ldap_southking.cer" target="_blank"&gt;ftp://10.12.23.17/cer_southking/ldap_southking.cer&lt;/A&gt; -Bay &amp;lt;&amp;lt;Bay number of OA where you want to import certificate&amp;gt;&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;You need to store the certificate at ftp server and specify the full path of the certificate as URL in the cmldet.&lt;/P&gt;&lt;P&gt;Note :- If you do not specify the Onboard Administrator bay number, the certificate is downloaded to the current (Active) Onboard Administrator.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 05:41:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7010133#M21221</guid>
      <dc:creator>GZahidi</dc:creator>
      <dc:date>2018-06-29T05:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet to install a CA certificate on c7000 Onboard Administrator</title>
      <link>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7010192#M21223</link>
      <description>&lt;P&gt;It's working now - thanks for the valuable advice!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 16:37:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7010192#M21223</guid>
      <dc:creator>Steve_Tippett</dc:creator>
      <dc:date>2018-06-29T16:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet to install a CA certificate on c7000 Onboard Administrator</title>
      <link>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7016277#M21307</link>
      <description>&lt;P&gt;We cannot use FTP server in our company, please is there an alternative?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 21:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7016277#M21307</guid>
      <dc:creator>Sam2018</dc:creator>
      <dc:date>2018-08-28T21:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet to install a CA certificate on c7000 Onboard Administrator</title>
      <link>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7016383#M21308</link>
      <description>&lt;P&gt;Hello Sam,&lt;/P&gt;&lt;P&gt;I successfully used a TFTP server that I downloaded and installed to my workstation.&amp;nbsp; Get it at &lt;A href="http://tftpd32.jounin.net" target="_blank"&gt;http://tftpd32.jounin.net&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Here's the pertinent Powershell code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $URL = "tftp://" + $WorkstationIP_Address + "/" + $Bay1_Certificate_File&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host " Beginning certificate download to" $Target_FQDN -ForegroundColor Cyan&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $Result = Start-HPOACertificateDownload -Connection $Target_OA -Type OA -Bay 1 -URL $URL&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF ($Result.StatusType -eq "Error")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host $Result.StatusMessage " Press Enter to continue" -ForegroundColor Red&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [console]::Beep(999,2000)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Read-Host&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host $Result.StatusMessage " Process will now sleep for 3 minutes." -ForegroundColor Cyan&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sleep -Seconds 180&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 13:44:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7016383#M21308</guid>
      <dc:creator>Steve_Tippett</dc:creator>
      <dc:date>2018-08-29T13:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet to install a CA certificate on c7000 Onboard Administrator</title>
      <link>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7016521#M21309</link>
      <description>&lt;P&gt;Hello Steve,&lt;/P&gt;&lt;P&gt;Thanks a lot for providing the TFTP alternative. Unfortunately, I cannot use this either. Please is there an option to use a share (\\server\file) or a local file (c:\file)?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 15:42:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7016521#M21309</guid>
      <dc:creator>Sam2018</dc:creator>
      <dc:date>2018-08-30T15:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet to install a CA certificate on c7000 Onboard Administrator</title>
      <link>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7016536#M21310</link>
      <description>Well, you could read the documentation to see if there are options that suit your situation. And, you didn't explain why you cannot install a TFTP client on your own workstation.</description>
      <pubDate>Thu, 30 Aug 2018 16:46:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7016536#M21310</guid>
      <dc:creator>Steve_Tippett</dc:creator>
      <dc:date>2018-08-30T16:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet to install a CA certificate on c7000 Onboard Administrator</title>
      <link>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7016538#M21311</link>
      <description>&lt;P&gt;Thank you for your help. We have a very strict security policy so I cannot use FTP or TFTP, not even on my workstation. I have checked the documentation before posting here but it only mentioned the "-url" option using a protocal (example: FTP). I just wanted to check if there is a way for this to work which would save me replacing the certificate manually on all c7000s.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 17:45:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/powershell-cmdlet-to-install-a-ca-certificate-on-c7000-onboard/m-p/7016538#M21311</guid>
      <dc:creator>Sam2018</dc:creator>
      <dc:date>2018-08-30T17:45:02Z</dc:date>
    </item>
  </channel>
</rss>

