Update to 2020-11-22 22:00

master
Daniel Berteaud 4 years ago
parent c5ff1b6552
commit dbc7ba5ff1
  1. 2
      roles/radius_server/files/rad_check_client_cert

@ -67,7 +67,7 @@ if ($? != 0 || $expire_check !~ m/^Certificate will not expire/){
if ($issuer){ if ($issuer){
my $issuer_check = qx(openssl x509 -in $cert -noout -issuer); my $issuer_check = qx(openssl x509 -in $cert -noout -issuer);
chomp($issuer_check); chomp($issuer_check);
$issuer_check =~ s/^issuer=\s//; $issuer_check =~ s/^issuer=\s*//;
unless ($issuer_check eq $issuer){ unless ($issuer_check eq $issuer){
print "Certificate is signed by $issuer_check instead of $issuer\n"; print "Certificate is signed by $issuer_check instead of $issuer\n";
exit 1; exit 1;

Loading…
Cancel
Save