This commit is contained in:
alwaysjolley 2019-06-25 06:56:37 -04:00
parent 55a96ba790
commit 86a1fb41ac
1 changed files with 2 additions and 2 deletions

View File

@ -260,9 +260,9 @@ class VaultDestinationPlugin(DestinationPlugin):
secret["data"][cname] = {} secret["data"][cname] = {}
if not cert_chain: if not cert_chain:
chain = '' chain = ''
else: else:
chain = cert_chain chain = cert_chain
if bundle == "Nginx": if bundle == "Nginx":
secret["data"][cname]["crt"] = "{0}\n{1}".format(body, chain) secret["data"][cname]["crt"] = "{0}\n{1}".format(body, chain)