Added list_expiring to show services expiring

This commit is contained in:
Deon George
2012-10-08 23:52:21 +11:00
parent 23247a5d4e
commit 59321a6877
7 changed files with 117 additions and 1 deletions

View File

@@ -40,6 +40,10 @@ class Model_Service_Plugin_SSL extends Model_Service_Plugin {
->set('so',$this);
}
public function expire() {
return $this->valid_to();
}
public function name() {
if ($this->cert) {
return sprintf('%s:%s',$this->ssl_ca->subject(),$this->display('cert'));