Sync charm-helpers to fix certificate separation
Change-Id: I0af42ea9642f3bd9181d729d73219753621e29be Closes-Bug: #1810910
This commit is contained in:
parent
97d0d4eff8
commit
8fff100a0d
|
@ -195,7 +195,7 @@ def install_certs(ssl_dir, certs, chain=None):
|
|||
if chain:
|
||||
# Append chain file so that clients that trust the root CA will
|
||||
# trust certs signed by an intermediate in the chain
|
||||
cert_data = cert_data + chain
|
||||
cert_data = cert_data + os.linesep + chain
|
||||
write_file(
|
||||
path=os.path.join(ssl_dir, cert_filename),
|
||||
content=cert_data, perms=0o640)
|
||||
|
|
Loading…
Reference in New Issue