Browse Source

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.
python3
Zolfa 5 years ago
parent
commit
9a24a52f31
Signed by: zolfa GPG Key ID: E1A43B038C4D6616
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      library/cert_request.py

+ 1
- 1
library/cert_request.py View File

@ -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)


Loading…
Cancel
Save