net/haproxy: fix missing newline in exported certificate

This commit is contained in:
Frank Wall 2017-04-04 11:16:20 +02:00
parent 2974fb9d6c
commit b0da3b2816

View file

@ -77,7 +77,7 @@ foreach ($configNodes as $key => $value) {
if (!empty((string)$cert->caref)) {
$cert = (array)$cert;
$ca = ca_chain($cert);
$pem_content .= $ca;
$pem_content .= "\n" . $ca;
}
}
// generate pem file