diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py index b6b915c46..84d60bfdd 100644 --- a/ipaserver/install/cainstance.py +++ b/ipaserver/install/cainstance.py @@ -690,7 +690,7 @@ class CAInstance(DogtagInstance): Used when setting up replication """ - with ipautil.write_tmp_file(password) as f: + with ipautil.write_tmp_file(password + '\n') as f: pwdarg = 'file:{file}'.format(file=f.name) # get the private key from the file ipautil.run([paths.OPENSSL,