Rename certs
This commit is contained in:
@@ -81,7 +81,7 @@ def main():
|
||||
image_flags = []
|
||||
|
||||
if FLAGS.https_ca_cert:
|
||||
https_ca_cert_path = os.path.join('icon', 'config', 'ca.https.cert.pem')
|
||||
https_ca_cert_path = os.path.join('icon', 'config', 'ca.www.cert.pem')
|
||||
shutil.copyfile(
|
||||
FLAGS.https_ca_cert,
|
||||
os.path.join(FLAGS.chroot_path, https_ca_cert_path))
|
||||
@@ -90,11 +90,11 @@ def main():
|
||||
])
|
||||
|
||||
if FLAGS.https_client_cert and FLAGS.https_client_key:
|
||||
https_client_cert_path = os.path.join('icon', 'config', 'client.https.cert.pem')
|
||||
https_client_cert_path = os.path.join('icon', 'config', 'client.www.cert.pem')
|
||||
shutil.copyfile(
|
||||
FLAGS.https_client_cert,
|
||||
os.path.join(FLAGS.chroot_path, https_client_cert_path))
|
||||
https_client_key_path = os.path.join('icon', 'config', 'client.https.key.pem')
|
||||
https_client_key_path = os.path.join('icon', 'config', 'client.www.key.pem')
|
||||
shutil.copyfile(
|
||||
FLAGS.https_client_key,
|
||||
os.path.join(FLAGS.chroot_path, https_client_key_path))
|
||||
|
||||
Reference in New Issue
Block a user