Help for this page

Select Code to Download


  1. or download this
    my $SSL = "/usr/local/bin/sudo /usr/bin/openssl";
    chomp( my @array = `$SSL x509 -inform PEM -text -noout -subject -issue
    +r -in /tmp/expiredcert.crt 2>/dev/null` );
    
  2. or download this
    my $SSL = "/usr/local/bin/sudo /usr/bin/openssl";
    local (*FH);
    open (FH, "$SSL x509 -inform PEM -text -noout -subject -issuer -in /tm
    +p/expiredcert.crt 2>/dev/null |") or return;
    my @args = <FH>;
    close FH;