Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

separating identity and permission CAs #67

Merged
merged 1 commit into from
Sep 10, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions sros2/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,10 @@ def create_key(args):

# copy the CA cert in there
keystore_ca_cert_path = os.path.join(root, 'ca.cert.pem')
dest_ca_cert_path = os.path.join(key_dir, 'ca.cert.pem')
shutil.copyfile(keystore_ca_cert_path, dest_ca_cert_path)
dest_identity_ca_cert_path = os.path.join(key_dir, 'identity_ca.cert.pem')
dest_permissions_ca_cert_path = os.path.join(key_dir, 'permissions_ca.cert.pem')
shutil.copyfile(keystore_ca_cert_path, dest_identity_ca_cert_path)
shutil.copyfile(keystore_ca_cert_path, dest_permissions_ca_cert_path)

# copy the governance file in there
keystore_governance_path = os.path.join(root, 'governance.p7s')
Expand Down