aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2020-01-14 11:00:06 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2020-01-14 11:00:06 +0200
commit6462707df92c153e78434d98a1b735fcd2fba7af (patch)
treec7a082178461fc9f030c879cb5d6ad9a3a9478c1
parent3a9980f96e6fe23b8de35556d16984d34e853b2a (diff)
downloadacmeman-6462707df92c153e78434d98a1b735fcd2fba7af.tar.gz
acmeman-6462707df92c153e78434d98a1b735fcd2fba7af.tar.bz2
Make sure cert.pem is terminated with a newline.
-rw-r--r--lib/App/Acmeman.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/Acmeman.pm b/lib/App/Acmeman.pm
index 02231bf..dba6d3b 100644
--- a/lib/App/Acmeman.pm
+++ b/lib/App/Acmeman.pm
@@ -587,7 +587,7 @@ sub register_domain_certificate {
.+?
^-+END\s+CERTIFICATE-+$)
(.+)/msx) {
- $cert = $1;
+ $cert = $1."\n";
($chain = $2) =~ s/^\s+//s;
} else {
$cert = $chain; # FIXME: not sure if that's right

Return to:

Send suggestions and report system problems to the System administrator.