Browse Source

adding #45

master
Björn 4 years ago
parent
commit
4fb3cd81a6
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/Helpers/NginxVhostHelper.php

+ 2
- 0
app/Helpers/NginxVhostHelper.php View File

@ -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]);
} }


Loading…
Cancel
Save