From 6382bc8f7ebda0be5c8c37749abcd691dbca2bc0 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Thu, 9 Jan 2020 17:00:13 -0800 Subject: [PATCH] Wildcard cert paths contain a * --- webmin/letsencrypt-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;