Enable CA certificate upload
This patchset enables CA certificate type to be uploaded
in the GUI.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I52953933f6fd3dbd363c42b887996942b99b358e
diff --git a/app/common/services/constants.js b/app/common/services/constants.js
index 9ac9b6c..cde6a87 100644
--- a/app/common/services/constants.js
+++ b/app/common/services/constants.js
@@ -24,11 +24,18 @@
{
'Description': 'HTTPS Certificate',
'location':
- '/redfish/v1/Managers/bmc/NetworkProtocol/HTTPS/Certificates/'
+ '/redfish/v1/Managers/bmc/NetworkProtocol/HTTPS/Certificates/',
+ 'name': 'HTTPS Certificate'
},
{
'Description': 'LDAP Certificate',
- 'location': '/redfish/v1/AccountService/LDAP/Certificates/'
+ 'location': '/redfish/v1/AccountService/LDAP/Certificates/',
+ 'name': 'LDAP Certificate'
+ },
+ {
+ 'Description': 'TrustStore Certificate',
+ 'location': '/redfish/v1/Managers/bmc/Truststore/Certificates/',
+ 'name': 'CA Certificate'
}
],
HOST_STATE_TEXT: {