Add SSL Certificate expiration warnings
Adds status icons in data table and alert banners for
expiring and expired certificates.
Warning will be visible within 30 days of certificate
expiration.
Critical/danger indicators will be visible when certificate
is expired.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I6f8c27d4ba1563a79b46eec7b869366ecee42f75
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index d1d5f61..22bb514 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -238,6 +238,12 @@
"httpsCertificate": "HTTPS Certificate",
"ldapCertificate": "LDAP Certificate",
"replaceCertificate": "Replace certificate",
+ "alert": {
+ "certificateExpiredMessage": "%{certificate} has expired. Consider replacing it with a new certificate.",
+ "certificateExpiringMessage": "%{certificate} is expiring soon. Consider replacing it with a new certificate.",
+ "certificatesExpiredMessage": "Some certificates have expired. Consider replacing them with new certificates.",
+ "certificatesExpiringMessage": "Some certificates are expiring soon. Consider replacing them with new certificates."
+ },
"modal": {
"certificateType": "Certificate type",
"certificateFile": "Certificate file",