182
179
def install_certificates(client, config_dir, ip_address, unit_machine):
185
182
# Write contents to file to scp across
186
183
ca_file = os.path.join(config_dir, 'ca.pem')
187
184
with open(ca_file, 'wt') as f:
191
188
'--', cert, key, ca_file, '{unit}:/home/ubuntu/'.format(