Browse Source

Added expired cert warning

develop
Prabuddha Chakraborty 9 years ago
parent
commit
b801130c54
  1. 4
      ee/cli/plugins/site.py

4
ee/cli/plugins/site.py

@ -1219,9 +1219,9 @@ class EESiteUpdateController(CementBaseController):
" https://{0}".format(ee_domain)) " https://{0}".format(ee_domain))
if (SSL.getExpirationDays(ee_domain)>0): if (SSL.getExpirationDays(ee_domain)>0):
Log.info(self, "Your certification will expire within " + SSL.getExpirationDays() + " days.") Log.info(self, "Your cert will expire within " + SSL.getExpirationDays() + " days.")
else: else:
Log.warn(self, "Your certification already EXPIRED ! . PLEASE renew soon . ") Log.warn(self, "Your cert already EXPIRED ! .PLEASE renew soon . ")

Loading…
Cancel
Save