Перейти к основному содержимому

Certificate

Certificate 1.10.0

 
Versionv1.10
Release2025.2

Description

The Certificate schema describes a certificate that proves the identity of a component, account, or service.

URIs

/​redfish/​v1/​AccountService/​Accounts/​{ManagerAccountId}/​Certificates/​{CertificateId}
/​redfish/​v1/​AccountService/​ActiveDirectory/​Certificates/​{CertificateId}
/​redfish/​v1/​AccountService/​ExternalAccountProviders/​{ExternalAccountProviderId}/​Certificates/​{CertificateId}
/​redfish/​v1/​AccountService/​LDAP/​Certificates/​{CertificateId}
/​redfish/​v1/​AccountService/​MultiFactorAuth/​ClientCertificate/​Certificates/​{CertificateId}
/​redfish/​v1/​AccountService/​MultiFactorAuth/​SecurID/​Certificates/​{CertificateId}
/​redfish/​v1/​AccountService/​OutboundConnections/​{OutboundConnectionId}/​Certificates/​{CertificateId}
/​redfish/​v1/​AccountService/​OutboundConnections/​{OutboundConnectionId}/​ClientCertificates/​{CertificateId}
/​redfish/​v1/​Chassis/​{ChassisId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Chassis/​{ChassisId}/​Drives/​{DriveId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Chassis/​{ChassisId}/​Memory/​{MemoryId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Chassis/​{ChassisId}/​NetworkAdapters/​{NetworkAdapterId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Chassis/​{ChassisId}/​PowerSubsystem/​PowerSupplies/​{PowerSupplyId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Chassis/​{ChassisId}/​TrustedComponents/​{TrustedComponentId}/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Drives/​{DriveId}/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Memory/​{MemoryId}/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Processors/​{ProcessorId}/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Storage/​{StorageId}/​Controllers/​{StorageControllerId}/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Storage/​{StorageId}/​Drives/​{DriveId}/​Certificates/​{CertificateId} (deprecated)
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Storage/​{StorageId}/​StorageControllers/​{StorageControllerId}/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Boot/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​KeyManagement/​KMIPCertificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Memory/​{MemoryId}/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Processors/​{ProcessorId}/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​SecureBoot/​SecureBootDatabases/​{DatabaseId}/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Storage/​{StorageId}/​Controllers/​{StorageControllerId}/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Storage/​{StorageId}/​Drives/​{DriveId}/​Certificates/​{CertificateId} (deprecated)
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Storage/​{StorageId}/​StorageControllers/​{StorageControllerId}/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​VirtualMedia/​{VirtualMediaId}/​Certificates/​{CertificateId}
/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​VirtualMedia/​{VirtualMediaId}/​ClientCertificates/​{CertificateId}
/​redfish/​v1/​EventService/​Subscriptions/​{EventDestinationId}/​Certificates/​{CertificateId}
/​redfish/​v1/​EventService/​Subscriptions/​{EventDestinationId}/​ClientCertificates/​{CertificateId}
/​redfish/​v1/​Fabrics/​{FabricId}/​Switches/​{SwitchId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​NetworkProtocol/​HTTPS/​Certificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​RemoteAccountService/​Accounts/​{ManagerAccountId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​RemoteAccountService/​ActiveDirectory/​Certificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​RemoteAccountService/​ExternalAccountProviders/​{ExternalAccountProviderId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​RemoteAccountService/​LDAP/​Certificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​RemoteAccountService/​MultiFactorAuth/​ClientCertificate/​Certificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​RemoteAccountService/​MultiFactorAuth/​SecurID/​Certificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​SecurityPolicy/​SPDM/​RevokedCertificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​SecurityPolicy/​SPDM/​TrustedCertificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​SecurityPolicy/​TLS/​Client/​RevokedCertificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​SecurityPolicy/​TLS/​Client/​TrustedCertificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​SecurityPolicy/​TLS/​Server/​RevokedCertificates/​{CertificateId}
/​redfish/​v1/​Managers/​{ManagerId}/​SecurityPolicy/​TLS/​Server/​TrustedCertificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Drives/​{DriveId}/​Certificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Memory/​{MemoryId}/​Certificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Processors/​{ProcessorId}/​Certificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Storage/​{StorageId}/​Controllers/​{StorageControllerId}/​Certificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Storage/​{StorageId}/​Drives/​{DriveId}/​Certificates/​{CertificateId} (deprecated)
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Storage/​{StorageId}/​StorageControllers/​{StorageControllerId}/​Certificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Boot/​Certificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Certificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​KeyManagement/​KMIPCertificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Memory/​{MemoryId}/​Certificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Processors/​{ProcessorId}/​Certificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​SecureBoot/​SecureBootDatabases/​{DatabaseId}/​Certificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Storage/​{StorageId}/​Controllers/​{StorageControllerId}/​Certificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Storage/​{StorageId}/​Drives/​{DriveId}/​Certificates/​{CertificateId} (deprecated)
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​Storage/​{StorageId}/​StorageControllers/​{StorageControllerId}/​Certificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​VirtualMedia/​{VirtualMediaId}/​Certificates/​{CertificateId}
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​VirtualMedia/​{VirtualMediaId}/​ClientCertificates/​{CertificateId}
/​redfish/​v1/​Storage/​{StorageId}/​Controllers/​{StorageControllerId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Storage/​{StorageId}/​StorageControllers/​{StorageControllerId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Systems/​{ComputerSystemId}/​Boot/​Certificates/​{CertificateId}
/​redfish/​v1/​Systems/​{ComputerSystemId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Systems/​{ComputerSystemId}/​KeyManagement/​KMIPCertificates/​{CertificateId}
/​redfish/​v1/​Systems/​{ComputerSystemId}/​Memory/​{MemoryId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Systems/​{ComputerSystemId}/​Processors/​{ProcessorId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Systems/​{ComputerSystemId}/​SecureBoot/​SecureBootDatabases/​{DatabaseId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Systems/​{ComputerSystemId}/​Storage/​{StorageId}/​Controllers/​{StorageControllerId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Systems/​{ComputerSystemId}/​Storage/​{StorageId}/​Drives/​{DriveId}/​Certificates/​{CertificateId} (deprecated)
/​redfish/​v1/​Systems/​{ComputerSystemId}/​Storage/​{StorageId}/​StorageControllers/​{StorageControllerId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Systems/​{ComputerSystemId}/​VirtualMedia/​{VirtualMediaId}/​Certificates/​{CertificateId}
/​redfish/​v1/​Systems/​{ComputerSystemId}/​VirtualMedia/​{VirtualMediaId}/​ClientCertificates/​{CertificateId}
/​redfish/​v1/​UpdateService/​ClientCertificates/​{CertificateId}
/​redfish/​v1/​UpdateService/​RemoteServerCertificates/​{CertificateId}

Properties

PropertyTypeAttributesNotes
Actions {objectThe available actions for this resource.
      #Certificate.Rekey (v1.1+) {}objectThis action generates a new key-pair for a certificate and produces a certificate signing request. For more information, see the Actions section below.
      #Certificate.Renew (v1.1+) {}objectThis action generates a certificate signing request by using the existing information and key-pair of the certificate. For more information, see the Actions section below.
}
CertificateStringstringread-only required on create
(null)
The string for the certificate.
CertificateTypestring
(enum)
read-only required on create
(null)
The format of the certificate. For the possible property values, see CertificateType in Property details.
CertificateUsageTypes (v1.4+) [ ]array (string
(enum))
read-only
(null)
The types or purposes for this certificate. For the possible property values, see CertificateUsageTypes in Property details.
Fingerprint (v1.3+)stringread-onlyThe fingerprint of the certificate.
FingerprintHashAlgorithm (v1.3+)stringread-onlyThe hash algorithm for the fingerprint of the certificate.
Issuer {objectThe issuer of the certificate.
      AdditionalCommonNames (v1.6+) [ ]array (string, null)read-onlyAdditional common names of the entity.
      AdditionalOrganizationalUnits (v1.6+) [ ]array (string, null)read-onlyAdditional organizational units of the entity.
      AlternativeNames (v1.7+) [ ]array (string, null)read-onlyThe additional host names of the entity.
      Citystringread-onlyThe city or locality of the organization of the entity.
      CommonNamestringread-onlyThe common name of the entity.
      Countrystringread-onlyThe country of the organization of the entity.
      DisplayString (v1.6+)stringread-only
(null)
A human-readable string for this identifier.
      DomainComponents (v1.6+) [ ]array (string, null)read-onlyThe domain components of the entity.
      Emailstringread-only
(null)
The email address of the contact within the organization of the entity.
      Organizationstringread-onlyThe name of the organization of the entity.
      OrganizationalUnitstringread-onlyThe name of the unit or division of the organization of the entity.
      Statestringread-onlyThe state, province, or region of the organization of the entity.
}
KeyUsage [ ]array (string
(enum))
read-only
(null)
The key usage extension, which defines the purpose of the public keys in this certificate. For the possible property values, see KeyUsage in Property details.
Links (v1.4+) {objectThe links to other resources that are related to this resource.
      Issuer (v1.4+) {object
(null)
A link to the certificate of the CA that issued this certificate.
            @odata.idstring
(URI)
read-onlyThe unique identifier for a resource.
      }
      Oem {}objectThe OEM extension property. See the Resource schema for details on this property.
      Subjects (v1.4+) [ {arrayAn array of links to certificates that were issued by the CA that is represented by this certificate.
            @odata.idstring
(URI)
read-onlyThe unique identifier for a resource.
      } ]
}
Oem {}objectThe OEM extension property. See the Resource schema for details on this property.
Password (v1.10+)stringread-write
(null)
The password for the certificate.
SerialNumber (v1.3+)stringread-onlyThe serial number of the certificate.
SignatureAlgorithm (v1.3+)stringread-onlyThe algorithm used for creating the signature of the certificate.
SPDM (v1.5+) {objectSPDM-related information for the certificate.
      SlotId (v1.5+)integerread-only
(null)
Slot identifier of the certificate.
}
Status (v1.10+) {}objectThe status and health of the resource and its subordinate or dependent resources. See the Resource schema for details on this property.
Subject {objectThe subject of the certificate.
      AdditionalCommonNames (v1.6+) [ ]array (string, null)read-onlyAdditional common names of the entity.
      AdditionalOrganizationalUnits (v1.6+) [ ]array (string, null)read-onlyAdditional organizational units of the entity.
      AlternativeNames (v1.7+) [ ]array (string, null)read-onlyThe additional host names of the entity.
      Citystringread-onlyThe city or locality of the organization of the entity.
      CommonNamestringread-onlyThe common name of the entity.
      Countrystringread-onlyThe country of the organization of the entity.
      DisplayString (v1.6+)stringread-only
(null)
A human-readable string for this identifier.
      DomainComponents (v1.6+) [ ]array (string, null)read-onlyThe domain components of the entity.
      Emailstringread-only
(null)
The email address of the contact within the organization of the entity.
      Organizationstringread-onlyThe name of the organization of the entity.
      OrganizationalUnitstringread-onlyThe name of the unit or division of the organization of the entity.
      Statestringread-onlyThe state, province, or region of the organization of the entity.
}
UefiSignatureOwner (v1.2+)string
(uuid)
read-only
(null)
The UEFI signature owner for this certificate.
ValidNotAfterstring
(date-time)
read-onlyThe date when the certificate is no longer valid.
ValidNotBeforestring
(date-time)
read-onlyThe date when the certificate becomes valid.

Actions

Rekey (v1.1+)

Description

This action generates a new key-pair for a certificate and produces a certificate signing request.

Action URI

{Base URI of target resource}/Actions/Certificate.Rekey

Action parameters

Parameter NameTypeAttributesNotes
      ChallengePasswordstringoptionalThe challenge password to apply to the certificate for revocation requests.
      KeyBitLengthintegeroptionalThe length of the key, in bits, if needed based on the KeyPairAlgorithm parameter value.
      KeyCurveIdstringoptionalThe curve ID to use with the key, if needed based on the KeyPairAlgorithm parameter value.
      KeyPairAlgorithmstringoptionalThe type of key-pair for use with signing algorithms.

Response Payload

{
      Certificate (v1.1+) {objectrequiredThe link to the certificate being rekeyed.
            @odata.idstring
(URI)
read-onlyThe unique identifier for a resource.
      }
      CSRString (v1.1+)stringread-only requiredThe string for the certificate signing request.
}

Request Example

{
"KeyPairAlgorithm": "TPM_ALG_RSA",
"KeyBitLength": 4096
}

Response Example

{
"CSRString": "-----BEGIN CERTIFICATE REQUEST-----...-----END CERTIFICATE REQUEST-----",
"Certificate": {
"@odata.id": "/redfish/v1/Managers/BMC/NetworkProtocol/HTTPS/Certificates/1"
}
}

Renew (v1.1+)

Description

This action generates a certificate signing request by using the existing information and key-pair of the certificate.

Action URI

{Base URI of target resource}/Actions/Certificate.Renew

Action parameters

Parameter NameTypeAttributesNotes
      ChallengePasswordstringoptionalThe challenge password to apply to the certificate for revocation requests.

Response Payload

{
      Certificate (v1.1+) {objectrequiredThe link to the certificate being renewed.
            @odata.idstring
(URI)
read-onlyThe unique identifier for a resource.
      }
      CSRString (v1.1+)stringread-only requiredThe string for the certificate signing request.
}

Request Example

{
"ChallengePassword": "p4ssw0rd"
}

Response Example

{
"CSRString": "-----BEGIN CERTIFICATE REQUEST-----...-----END CERTIFICATE REQUEST-----",
"Certificate": {
"@odata.id": "/redfish/v1/Managers/BMC/NetworkProtocol/HTTPS/Certificates/1"
}
}

Property details

CertificateType

 

The format of the certificate.

stringDescription
PEMA Privacy Enhanced Mail (PEM)-encoded single certificate.
PEMchainA Privacy Enhanced Mail (PEM)-encoded certificate chain.
PKCS12A Base64-encoded PKCS12 certificate bundle.
PKCS7A Privacy Enhanced Mail (PEM)-encoded PKCS7 certificate.

CertificateUsageTypes

 

The types or purposes for this certificate.

stringDescription
BIOSThis certificate is a BIOS certificate like those associated with UEFI.
DeviceThis certificate is a device type certificate like those associated with SPDM and other standards.
EKThis certificate is an EK certificate like those associated with TCG TPMs.
IAKThis certificate is an IAK certificate like those associated with TCG TPMs.
IDevIDThis certificate is an IDevID certificate like those associated with TCG TPMs.
LAKThis certificate is an LAK certificate like those associated with TCG TPMs.
LDevIDThis certificate is an LDevID certificate like those associated with TCG TPMs.
PlatformThis certificate is a platform type certificate like those associated with SPDM and other standards.
SSHThis certificate is used for SSH.
UserThis certificate is a user certificate like those associated with a manager account.
WebThis certificate is a web or HTTPS certificate like those used for event destinations.

KeyUsage

 

The key usage extension, which defines the purpose of the public keys in this certificate.

stringDescription
ClientAuthenticationTLS WWW client authentication.
CodeSigningSigns downloadable executable code.
CRLSigningVerifies signatures on certificate revocation lists (CRLs).
DataEnciphermentDirectly enciphers raw user data without an intermediate symmetric cipher.
DecipherOnlyDeciphers data while performing a key agreement.
DigitalSignatureVerifies digital signatures, other than signatures on certificates and CRLs.
EmailProtectionEmail protection.
EncipherOnlyEnciphers data while performing a key agreement.
KeyAgreementKey agreement.
KeyCertSignVerifies signatures on public key certificates.
KeyEnciphermentEnciphers private or secret keys.
NonRepudiationVerifies digital signatures, other than signatures on certificates and CRLs, and provides a non-repudiation service that protects against the signing entity falsely denying some action.
OCSPSigningSigns OCSP responses.
ServerAuthenticationTLS WWW server authentication.
TimestampingBinds the hash of an object to a time.

Example response

{
"@odata.type": "#Certificate.v1_11_0.Certificate",
"Id": "1",
"Name": "HTTPS Certificate",
"CertificateString": "-----BEGIN CERTIFICATE-----\nMIIFsTCC [*truncated*] GXG5zljlu\n-----END CERTIFICATE-----",
"CertificateType": "PEM",
"Issuer": {
"Country": "US",
"State": "Oregon",
"City": "Portland",
"Organization": "Contoso",
"OrganizationalUnit": "ABC",
"CommonName": "manager.contoso.org"
},
"Subject": {
"Country": "US",
"State": "Oregon",
"City": "Portland",
"Organization": "Contoso",
"OrganizationalUnit": "ABC",
"CommonName": "manager.contoso.org"
},
"ValidNotBefore": "2018-09-07T13:22:05Z",
"ValidNotAfter": "2019-09-07T13:22:05Z",
"KeyUsage": [
"KeyEncipherment",
"ServerAuthentication"
],
"SerialNumber": "5d:7a:d8:df:f6:fc:c1:b3:ca:fe:fb:cc:38:f3:01:64:51:ea:05:cb",
"Fingerprint": "A6:E9:D2:5C:DC:52:DA:4B:3B:14:97:F3:A4:53:D9:99:A1:0B:56:41",
"FingerprintHashAlgorithm": "TPM_ALG_SHA1",
"SignatureAlgorithm": "sha256WithRSAEncryption",
"@odata.id": "/redfish/v1/Managers/BMC/NetworkProtocol/HTTPS/Certificates/1"
}

CertificateLocations 1.0.4

 
Versionv1.0
Release2018.3

Description

The CertificateLocations schema describes a resource that an administrator can use in order to locate all certificates installed on a given service.

URIs

/​redfish/​v1/​CertificateService/​CertificateLocations

Properties

PropertyTypeAttributesNotes
Actions {}objectThe available actions for this resource.
Links {objectThe links to other resources that are related to this resource.
      Certificates [ {arrayAn array of links to the certificates installed on this service.
            @odata.idstring
(URI)
read-onlyThe unique identifier for a resource.
      } ]
      Oem {}objectThe OEM extension property. See the Resource schema for details on this property.
}
Oem {}objectThe OEM extension property. See the Resource schema for details on this property.

Example response

{
"@odata.type": "#CertificateLocations.v1_0_4.CertificateLocations",
"Id": "CertificateLocations",
"Name": "Certificate Locations",
"Links": {
"Certificates": [
{
"@odata.id": "/redfish/v1/Managers/BMC/NetworkProtocol/HTTPS/Certificates/1"
}
]
},
"@odata.id": "/redfish/v1/CertificateService/CertificateLocations"
}

CertificateService 1.1.0

 
Versionv1.1
Release2025.1

Description

The CertificateService schema describes a certificate service that represents the actions available to manage certificates and links to the certificates.

URIs

/​redfish/​v1/​CertificateService

Properties

PropertyTypeAttributesNotes
Actions {objectThe available actions for this resource.
      #CertificateService.GenerateCSR {}objectThis action makes a certificate signing request. For more information, see the Actions section below.
      #CertificateService.ReplaceCertificate {}objectThis action replaces a certificate. For more information, see the Actions section below.
}
CertificateLocations {objectThe information about the location of certificates.
      @odata.idstring
(URI)
read-onlyThe unique identifier for a resource.
}
Oem {}objectThe OEM extension property. See the Resource schema for details on this property.

Actions

GenerateCSR

Description

This action makes a certificate signing request.

Action URI

{Base URI of target resource}/Actions/CertificateService.GenerateCSR

Action parameters

Parameter NameTypeAttributesNotes
      AlternativeNames [ ]array (string)optionalThe additional host names of the component to secure.
      CertificateCollection {objectrequiredThe link to the certificate collection where the certificate is installed after the certificate authority (CA) signs the certificate.
            @odata.idstring
(URI)
read-onlyThe unique identifier for a resource.
      }
      ChallengePasswordstringoptionalThe challenge password to apply to the certificate for revocation requests.
      CitystringoptionalThe city or locality of the organization making the request.
      CommonNamestringrequiredThe fully qualified domain name of the component to secure.
      ContactPersonstringoptionalThe name of the user making the request.
      CountrystringoptionalThe two-letter country code of the organization making the request.
      EmailstringoptionalThe email address of the contact within the organization making the request.
      GivenNamestringoptionalThe given name of the user making the request.
      InitialsstringoptionalThe initials of the user making the request.
      KeyBitLengthintegeroptionalThe length of the key, in bits, if needed based on the KeyPairAlgorithm parameter value.
      KeyCurveIdstringoptionalThe curve ID to use with the key, if needed based on the KeyPairAlgorithm parameter value.
      KeyPairAlgorithmstringoptionalThe type of key-pair for use with signing algorithms.
      KeyUsage [ ]array (string
(enum))
read-writeThe usage of the key contained in the certificate. For the possible property values, see KeyUsage in Property details.
      OrganizationstringoptionalThe name of the organization making the request.
      OrganizationalUnitstringoptionalThe name of the unit or division of the organization making the request.
      StatestringoptionalThe state, province, or region of the organization making the request.
      SurnamestringoptionalThe surname of the user making the request.
      UnstructuredNamestringoptionalThe unstructured name of the subject.

Response Payload

{
      CertificateCollection {objectrequiredThe link to the certificate collection where the certificate is installed.
            @odata.idstring
(URI)
read-onlyThe unique identifier for a resource.
      }
      CSRStringstringread-only requiredThe string for the certificate signing request.
}

Request Example

{
"Country": "US",
"State": "Oregon",
"City": "Portland",
"Organization": "Contoso",
"OrganizationalUnit": "ABC",
"CommonName": "manager.contoso.org",
"AlternativeNames": [
"manager.contoso.org",
"manager.contoso.com",
"manager.contoso.us"
],
"Email": "admin@contoso.org",
"KeyPairAlgorithm": "TPM_ALG_RSA",
"KeyBitLength": 4096,
"KeyUsage": [
"KeyEncipherment",
"ServerAuthentication"
],
"CertificateCollection": {
"@odata.id": "/redfish/v1/Managers/BMC/NetworkProtocol/HTTPS/Certificates"
}
}

Response Example

{
"CSRString": "-----BEGIN CERTIFICATE REQUEST-----...-----END CERTIFICATE REQUEST-----",
"CertificateCollection": {
"@odata.id": "/redfish/v1/Managers/BMC/NetworkProtocol/HTTPS/Certificates"
}
}

ReplaceCertificate

Description

This action replaces a certificate.

Action URI

{Base URI of target resource}/Actions/CertificateService.ReplaceCertificate

Action parameters

Parameter NameTypeAttributesNotes
      CertificateStringstringrequiredThe string for the certificate.
      CertificateTypestring
(enum)
requiredThe format of the certificate. For the possible property values, see CertificateType in Property details.
      CertificateUri {objectrequiredThe link to the certificate that is being replaced.
            @odata.idstring
(URI)
read-onlyThe unique identifier for a resource.
      }
      Password (v1.1+)stringoptionalThe password for the certificate.

Request Example

{
"CertificateUri": {
"@odata.id": "/redfish/v1/Managers/BMC/NetworkProtocol/HTTPS/Certificates/1"
},
"CertificateString": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",
"CertificateType": "PEM"
}

Property details

CertificateType

 

The format of the certificate.

stringDescription
PEMA Privacy Enhanced Mail (PEM)-encoded single certificate.
PEMchainA Privacy Enhanced Mail (PEM)-encoded certificate chain.
PKCS12A Base64-encoded PKCS12 certificate bundle.
PKCS7A Privacy Enhanced Mail (PEM)-encoded PKCS7 certificate.

KeyUsage

 

The usage of the key contained in the certificate.

stringDescription
ClientAuthenticationTLS WWW client authentication.
CodeSigningSigns downloadable executable code.
CRLSigningVerifies signatures on certificate revocation lists (CRLs).
DataEnciphermentDirectly enciphers raw user data without an intermediate symmetric cipher.
DecipherOnlyDeciphers data while performing a key agreement.
DigitalSignatureVerifies digital signatures, other than signatures on certificates and CRLs.
EmailProtectionEmail protection.
EncipherOnlyEnciphers data while performing a key agreement.
KeyAgreementKey agreement.
KeyCertSignVerifies signatures on public key certificates.
KeyEnciphermentEnciphers private or secret keys.
NonRepudiationVerifies digital signatures, other than signatures on certificates and CRLs, and provides a non-repudiation service that protects against the signing entity falsely denying some action.
OCSPSigningSigns OCSP responses.
ServerAuthenticationTLS WWW server authentication.
TimestampingBinds the hash of an object to a time.

Example response

{
"@odata.type": "#CertificateService.v1_2_1.CertificateService",
"Id": "CertificateService",
"Name": "Certificate Service",
"Actions": {
"#CertificateService.GenerateCSR": {
"target": "/redfish/v1/CertificateService/Actions/CertificateService.GenerateCSR",
"@Redfish.ActionInfo": "/redfish/v1/CertificateService/GenerateCSRActionInfo"
},
"#CertificateService.ReplaceCertificate": {
"target": "/redfish/v1/CertificateService/Actions/CertificateService.ReplaceCertificate",
"@Redfish.ActionInfo": "/redfish/v1/CertificateService/ReplaceCertificateActionInfo"
}
},
"CertificateLocations": {
"@odata.id": "/redfish/v1/CertificateService/CertificateLocations"
},
"@odata.id": "/redfish/v1/CertificateService"
}