From 9a24a52f31193594cd78cd91542882e72c2c564a Mon Sep 17 00:00:00 2001 From: Zolfa Date: Fri, 17 Apr 2020 22:40:52 +0200 Subject: [PATCH] library/cert_request.py: fix tls request Stripping newlines from TLS request Certificate Signing Request cause ca_manager to fail. We have to check if SSH cert request are still working. --- library/cert_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/cert_request.py b/library/cert_request.py index b10030e..d1958df 100644 --- a/library/cert_request.py +++ b/library/cert_request.py @@ -88,7 +88,7 @@ def main(): 'request': { 'keyType': '{}_host'.format(proto), 'hostName': host, - 'keyData': src.read().replace('\n', ''), + 'keyData': src.read(), }, } module.exit_json(**result)