iLO 4 REST API Data Model (HpHttpsCert Resource Type) - shamimur/hp-proliant-sdk GitHub Wiki

HP RESTful API Data Model Reference for iLO 4—Redfish 1.0 Conformance (Cont)

"HpHttpsCert" Resource Type

Resource Instances

/rest/v1/Managers/{item}/SecurityService/HttpsCert

See Resource Map for more details.

This is the schema definition for the X509 Certificate.

"HpHttpsCert" defines the following properties:

"CertificateSigningRequest"

This property is a member of HpHttpsCert

GenerateCSR action, wait few minutes (upto 10), perform GET operation, fills CSR. Contains a public and private key pair.
JSON type:
String

HTTP Operations

GET Rendered if supported by the implementation or omitted if not. The value of this property may also be null if it is unavailable at the time of the request.

"X509CertificateInformation/Issuer"

This property is a member of HpHttpsCert

The Certificate Authority that issued the certificate.
JSON type:
String

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

"X509CertificateInformation/SerialNumber"

This property is a member of HpHttpsCert

The serial number that the Certificate Authority assigned to the certificate.
JSON type:
String

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

"X509CertificateInformation/Subject"

This property is a member of HpHttpsCert

The entity to which the certificate was issued.
JSON type:
String

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

"X509CertificateInformation/ValidNotAfter"

This property is a member of HpHttpsCert

The date on which the certificate validity period ends.
JSON type:
String

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

"X509CertificateInformation/ValidNotBefore"

This property is a member of HpHttpsCert

The date on which the certificate validity period begins.
JSON type:
String

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

POST Action "GenerateCSR"

Causes iLO 4 to begin creation of a new certificate signing request. The action will return a GeneratingCertificate message while this process is underway. The process may take up to ten minutes. Upon completion, the new request is available upon GET to this same resource in the "CertificateSigningRequest" property.

Parameter "Country"

"Country" must be one of the following value(s):

"<string>"

Parameter "State"

"State" must be one of the following value(s):

"<string>"

Parameter "City"

"City" must be one of the following value(s):

"<string>"

Parameter "OrgName"

"OrgName" must be one of the following value(s):

"<string>"

Parameter "OrgUnit"

"OrgUnit" must be one of the following value(s):

"<string>"

Parameter "CommonName"

"CommonName" must be one of the following value(s):

"<string>"

Example

HTTP POST to resource with request JSON:

{ "Action": "GenerateCSR", "Country": "<string>", "State": "<string>", "City": "<string>", "OrgName": "<string>", "OrgUnit": "<string>", "CommonName": "<string>"}

POST Action "ImportCertificate"

Imports a Trusted Certificate and iLO is reset.

Parameter "Certificate"

"Certificate" must be one of the following value(s):

"<text>"

Example

HTTP POST to resource with request JSON:

{ "Action": "ImportCertificate", "Certificate": "<text>"}
⚠️ **GitHub.com Fallback** ⚠️