ProLiant Servers (ML,DL,SL)
1824535 Members
3900 Online
109672 Solutions
New Discussion юеВ

HPE iLO | Delete SSL Certificate w. PowerShell (or other "script friendly" way).

 
lst_jonas
Established Member

HPE iLO | Delete SSL Certificate w. PowerShell (or other "script friendly" way).

I have about a hundred servers that i need to do a repetitive process on.
  1. Disable DHCPv4DomainName & DHCPv6DomainName
  2. Set DNSName
  3. Set DomainName

These are easily achievable by use HPEILOCMDLETS and 'Set-HPEiLOIPv4NetworkSetting' and 'Set-HPEiLOIPv6NetworkSetting' in that module. However, upon (well, actually before as well) performing the above another issue presents itself. The certificate ...

  1. Delete and regenerate the (auto generated, self-signed) certificate.

And it's here i fall short of finding a way of doing this without actually using the GUI.

Therefor I am looking for a way of either deleting the SSL Certificate and let it reset and generate a new certificate with the "correct" CN or enable the setting to "Automatically manage SSL Certificate" which i think will generate a new certificate if there is a mismatch.

Anyone that have run into a similar problem and have a solution at hand?

Thanks in advance,

J

3 REPLIES 3
support_s
System Recommended

Query: HPE iLO | Delete SSL Certificate w. PowerShell (or other "script friendly" way).

System recommended content:

1. HPE iLO 5 1.30 User Guide

2. HPE iLO 5, 1.15 User Guide

 

Please click on "Thumbs Up/Kudo" icon to give a "Kudo".

 

Thank you for being a HPE valuable community member.


Accept or Kudo

Greeshma21
HPE Pro

Re: HPE iLO | Delete SSL Certificate w. PowerShell (or other "script friendly" w

Hi @lst_jonas 

The procedure for removing the SSL Certificate is as follows: Please refer to this link.

This post might help you to resolve your issue.

Regards,
Greeshma


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
support_s
System Recommended

Query: HPE iLO | Delete SSL Certificate w. PowerShell (or other "script friendly" way).

Hello,

 

Let us know if you were able to resolve the issue.

 

If you have no further query, and you are satisfied with the answer then kindly mark the topic as Solved so that it is helpful for all community members.

 

Please click on "Thumbs Up/Kudo" icon to give a "Kudo".

 

Thank you for being a HPE valuable community member.


Accept or Kudo