b64decoded data bust be written as binary
Change-Id: I41e92106b5b53685b2b8e9b8f1f420dd2baca3ed
This commit is contained in:
parent
f65fd7aaed
commit
009b27871c
|
@ -644,7 +644,7 @@ def import_keystone_ca_cert():
|
|||
if not ca_cert:
|
||||
return
|
||||
log('Writing Keystone CA certificate to %s' % CA_CERT_PATH)
|
||||
with open(CA_CERT_PATH, 'wt') as out:
|
||||
with open(CA_CERT_PATH, 'wb') as out:
|
||||
out.write(b64decode(ca_cert))
|
||||
check_call(['update-ca-certificates'])
|
||||
|
||||
|
|
Loading…
Reference in New Issue