summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-06 20:06:03 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-06 20:06:03 +0100
commit93b7c5f60ebe4d29ecde33db03b0eec8495ff104 (patch)
tree2d03ad866c4eb4f7eb3ad6021adee9b6af79d805
parent7389a85ec91e9befaf16e3a8ed6d72199df0ab32 (diff)
downloadvyos-1x-93b7c5f60ebe4d29ecde33db03b0eec8495ff104.tar.gz
vyos-1x-93b7c5f60ebe4d29ecde33db03b0eec8495ff104.zip
https: pki: T3642: remove debug print()
Remove superfluous print() statement added in commit 0852c588d55 ("https: pki: T3642: embed CA certificate into chain if specified").
-rwxr-xr-xsrc/conf_mode/https.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/conf_mode/https.py b/src/conf_mode/https.py
index 92dc4a410..86c6cd1b9 100755
--- a/src/conf_mode/https.py
+++ b/src/conf_mode/https.py
@@ -143,7 +143,6 @@ def generate(https):
server_cert = str(wrap_certificate(pki_cert['certificate']))
if 'ca-certificate' in cert_dict:
ca_cert = cert_dict['ca-certificate']
- print(ca_cert)
server_cert += '\n' + str(wrap_certificate(https['pki']['ca'][ca_cert]['certificate']))
write_file(cert_path, server_cert)