diff --git a/webmin/letsencrypt-lib.pl b/webmin/letsencrypt-lib.pl index da88c3fd3..a09623f2c 100755 --- a/webmin/letsencrypt-lib.pl +++ b/webmin/letsencrypt-lib.pl @@ -206,7 +206,7 @@ if ($letsencrypt_cmd) { return (0, "
".&html_escape($out || "No output from $letsencrypt_cmd")."
"); } my ($full, $cert, $key, $chain); - if ($out =~ /(\/etc\/letsencrypt\/(?:live|archive)\/[a-zA-Z0-9\.\_\-\/\r\n ]*\.pem)/) { + if ($out =~ /(\/etc\/letsencrypt\/(?:live|archive)\/[a-zA-Z0-9\.\_\-\/\r\n\* ]*\.pem)/) { # Output contained the full path $full = $1; $full =~ s/\s//g;