Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal error while doing GET operation for CA certificate #20

Open
rahulmah opened this issue May 24, 2021 · 1 comment
Open

Internal error while doing GET operation for CA certificate #20

rahulmah opened this issue May 24, 2021 · 1 comment

Comments

@rahulmah
Copy link

rahulmah commented May 24, 2021

Internal error while doing GET operation for CA certificate with a recent build. GET operation works fine for client certificate.

bash-4.2$ curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${BMC_IP}/redfish/v1/Managers/bmc/Truststore/Certificates
{
  "@odata.id": "/redfish/v1/Managers/bmc/Truststore/Certificates/",
  "@odata.type": "#CertificateCollection.CertificateCollection",
  "Description": "A Collection of TrustStore certificate instances",
  "Name": "TrustStore Certificates Collection",
  "error": {
    "@Message.ExtendedInfo": [
      {
        "@odata.type": "#Message.v1_1_1.Message",
        "Message": "The request failed due to an internal service error.  The service is still operational.",
        "MessageArgs": [],
        "MessageId": "Base.1.8.1.InternalError",
        "MessageSeverity": "Critical",
        "Resolution": "Resubmit the request.  If the problem persists, consider resetting the service."
      }
    ],
    "code": "Base.1.8.1.InternalError",
    "message": "The request failed due to an internal service error.  The service is still operational."
  }
}bash-4.2$

bash-4.2$ curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${BMC_IP}/redfish/v1/AccountService/LDAP/Certificates/
{
  "@odata.id": "/redfish/v1/AccountService/LDAP/Certificates",
  "@odata.type": "#CertificateCollection.CertificateCollection",
  "Description": "A Collection of LDAP certificate instances",
  "Members": [],
  "[email protected]": 0,
  "Name": "LDAP Certificates Collection"
}bash-4.2$

BMC fw:

root@witherspoon:~# cat /etc/os-release
ID=openbmc-openpower
NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
VERSION="2.10.0-rc1"
VERSION_ID=2.10.0-rc1-dirty
PRETTY_NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) 2.10.0-rc1"
BUILD_ID="2.10.0-rc1"
OPENBMC_TARGET_MACHINE="witherspoon"
@raviteja-b
Copy link
Contributor

this issue is no longer valid @rahulmah
this issue can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants