211
212
# NOTE(vish): Setup runs genroot.sh if it hasn't been run
212
213
cloud.CloudController().setup()
213
214
_key, cert_str = crypto.generate_x509_cert(user.id, project.id)
216
217
full_chain = crypto.fetch_ca(project_id=project.id, chain=True)
217
218
int_cert = crypto.fetch_ca(project_id=project.id, chain=False)
218
219
cloud_cert = crypto.fetch_ca()
220
221
signed_cert = X509.load_cert_string(cert_str)
221
222
chain_cert = X509.load_cert_string(full_chain)
222
223
int_cert = X509.load_cert_string(int_cert)