PEL: Add message registry for invalid certificate
Added message registry for certificate verification failure.
Tested:
xx@xxxxx# peltool -l
{
"0x500010BC": {
"SRC": "BDA3100C",
"Message": "Certificate verification failed",
"PLID": "0x500010BC",
"CreatorID": "BMC",
"Subsystem": "User Error",
"Commit Time": "03/29/2023 16:45:33",
"Sev": "Predictive Error",
"CompID": "0x1000"
}
}
"User Header": {
"Section Version": "1",
"Sub-section type": "0",
"Log Committed by": "bmc error logging",
"Subsystem": "User Error",
"Event Scope": "Entire Platform",
"Event Severity": "Predictive Error",
"Event Type": "Not Applicable",
"Action Flags": [
"Service Action Required",
"Report Externally",
"HMC Call Home"
],
"Host Transmission": "Not Sent",
"HMC Transmission": "Not Sent"
},
Change-Id: I5b096d5bb0e5ecf16dd2d472c5aaea87f940f45e
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/extensions/openpower-pels/registry/message_registry.json b/extensions/openpower-pels/registry/message_registry.json
index 2866a37..04a6940 100644
--- a/extensions/openpower-pels/registry/message_registry.json
+++ b/extensions/openpower-pels/registry/message_registry.json
@@ -253,6 +253,33 @@
},
{
+ "Name": "xyz.openbmc_project.Certs.Error.InvalidCertificate",
+ "Subsystem": "user_error",
+ "Severity": "predictive",
+
+ "SRC": {
+ "ReasonCode": "0x100C",
+ "Words6To9": {}
+ },
+
+ "Callouts": [
+ {
+ "CalloutList": [
+ {
+ "Priority": "high",
+ "Procedure": "next_level_support"
+ }
+ ]
+ }
+ ],
+
+ "Documentation": {
+ "Description": "Certificate verification failed",
+ "Message": "Certificate verification failed"
+ }
+ },
+
+ {
"Name": "org.open_power.Logging.Error.SentBadPELToHost",
"Subsystem": "bmc_firmware",
"Severity": "non_error",