Skip to content
Snippets Groups Projects
Commit f63c941b authored by Pavel Kácha's avatar Pavel Kácha
Browse files

Configuration key normalization

parent 7af9a781
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ class EjbcaClient(object):
@name.setter
def name(self, new):
self.ejbca_data["username"] = new + self.registry.username_suffix
self.ejbca_data["subjectDN"] = self.registry.subjectDN_template % new
self.ejbca_data["subjectDN"] = self.registry.subject_dn_template % new
@property
def status(self):
......@@ -126,9 +126,9 @@ class EjbcaRegistry(object):
if user:
raise LookupError("Client %s already exists" % name)
new_ejbca_data = dict(
ca_name=self.ca_name,
certificate_profile_name=self.certificate_profile_name,
end_entity_profile_name=self.end_entity_profile_name,
caName=self.ca_name,
certificateProfileName=self.certificate_profile_name,
endEntityProfileName=self.end_entity_profile_name,
keyRecoverable=False,
sendNotification=False,
status=ejbcaws.STATUS_INITIALIZED,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment