diff --git a/awit-certmaster b/awit-certmaster index c97c08999593ea40f79e131e3fc8afdf48465607..fd3a3a6a1658841e84aa3a26ea8070302e1a1311 100755 --- a/awit-certmaster +++ b/awit-certmaster @@ -47,7 +47,7 @@ package AWIT::CertMaster; use strict; use warnings; -our $VERSION = '1.04'; +our $VERSION = '1.05'; BEGIN { @@ -237,10 +237,16 @@ sub webserverCheckApache foreach my $vhostName (keys %{$vhostConfig}) { my $vhost = $vhostConfig->{$vhostName}; - # Skip over system configurations - next if ($vhost =~ /default(|-ssl)/); - # Skip over backup files - next if ($vhost =~ /\.bak$/); + # Skip over a few things + if ( + # Skip over system configurations + $vhostName =~ /default(|-ssl)/ || + # Skip over backup files + $vhostName =~ /\.bak$/ + ) { + delete($vhostConfig->{$vhostName}); + next; + } $self->logger("INFO","APACHE: Processing vhost '%s'",$vhostName); # Open config file @@ -1776,7 +1782,7 @@ use Getopt::Long; my $NAME = "AWIT-CertMaster"; -our $VERSION = "1.1.7"; +our $VERSION = "1.1.8";