- Publicity: Public Only All
acs-admin-procs.tcl
Automated functions for acs-admin
- Location:
- packages/acs-admin/tcl/acs-admin-procs.tcl
- Created:
- 2018-08-15
- Author:
- Gustaf Neumann
Procedures in this file
- acs_admin::check_expired_certificates (private)
Detailed information
acs_admin::check_expired_certificates (private)
acs_admin::check_expired_certificates [ -api api ] \ [ -key_type key_type ]
Check expire-dates of certificates and send warning emails to the admin. In case HTTPS is not configured via the "nsssl" driver, or the command line tool "openssl" is not installed, the proc does nothing.
- Switches:
- -api
(defaults to"production"
) (optional)- possible values: "production" or "staging". In case the certificate is expired, use this type of letsencrypt environment to obtain a fresh certificate.
- -key_type
(defaults to"ecdsa"
) (optional)- possible values: "rsa" or "ecdsa".
- Returns:
- boolean telling whether expired certificates existed (true) or not (false)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_admin_check_expired_certificates