mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
IPsec: Fix extra whitespace in exported certificates
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Tested-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
a41e24d414
commit
6688e0bc7a
@@ -849,7 +849,7 @@ END
|
||||
print "Content-Disposition: attachment; filename=cacert.pem\r\n\r\n";
|
||||
|
||||
my @cert = &General::system_output("/usr/bin/openssl", "x509", "-in", "${General::swroot}/ca/cacert.pem");
|
||||
print "@cert";
|
||||
print join("", @cert);
|
||||
exit(0);
|
||||
}
|
||||
###
|
||||
@@ -861,7 +861,7 @@ END
|
||||
print "Content-Disposition: attachment; filename=hostcert.pem\r\n\r\n";
|
||||
|
||||
my @cert = &General::system_output("/usr/bin/openssl", "x509", "-in", "${General::swroot}/certs/hostcert.pem");
|
||||
print "@cert";
|
||||
print join("", @cert);
|
||||
exit(0);
|
||||
}
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user