Skip to main content

LDAP Certificate

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

Request

Get LDAP Certificate Instance

GET https://{{ip}}/redfish/v1/Managers/Self/RemoteAccountService/LDAP/Certificates/1
GET https://{{ip}}/redfish/v1/Managers/Self/RemoteAccountService/LDAP/Certificates/Oem/Ami/ClientCertificates/1
Content-Type: application/json
Note
  1. https://{{ip}}/redfish/v1/Managers/Self/RemoteAccountService/LDAP/Certificates/1 is the root CA certificate required for LDAP authentication uploaded into BMC

  2. https://{{ip}}/redfish/v1/Managers/Self/RemoteAccountService/LDAP/Certificates/Oem/Ami/ClientCertificates/1 is the client certificate required for LDAP authentication uploaded into BMC

  3. Since single certificate is maintained in BMC for root ca, or the client certificate required for LDAP authentication, single certificate instance is maintained from Redfish as well.

Response

The response of the request will be in JSON format. The properties are mentioned in Certificate Property.

Request

Delete LDAP Certificate Instance

DELETE https://{{ip}}/redfish/v1/Managers/Self/RemoteAccountService/LDAP/Certificates/1
DELETE https:// {{ip}}/redfish/v1/Managers/Self/RemoteAccountService/LDAP/Certificates/Oem/Ami/ClientCertificates/1
Content-Type: application/json
Note
DELETE operation on

https://{{ip}}/redfish/v1/Managers/Self/RemoteAccountService/LDAP/Certificates/1 and https://{{ip}}/redfish/v1/Managers/Self/RemoteAccountService/LDAP/Certificates/Oem/Ami/ClientCertificates/1 cannot be performed when LDAP configuration is saved for SSL and StartTLS. User has to change the LDAP configuration to NoEncryption and can perform DELETE operation to delete, root ca, client certificate and the private key used for LDAP authentication.

Response

The response status is 204 and no response body.