|
@ -95,6 +95,8 @@ class NginxVhostHelper |
|
|
// getting expired
|
|
|
// getting expired
|
|
|
exec('openssl x509 -noout -dates -in '.$path, $openssl); |
|
|
exec('openssl x509 -noout -dates -in '.$path, $openssl); |
|
|
|
|
|
|
|
|
|
|
|
var_dump($openssl); die(); |
|
|
|
|
|
|
|
|
if (isset($openssl[1])) { |
|
|
if (isset($openssl[1])) { |
|
|
$openssl = str_replace('notAfter=', '', $openssl[1]); |
|
|
$openssl = str_replace('notAfter=', '', $openssl[1]); |
|
|
} |
|
|
} |
|
|