Use Realm as certs subject base name

Also use the realm name as nickname for the CA certificate
This commit is contained in:
Simo Sorce
2010-11-01 13:51:14 -04:00
parent 775fc23738
commit 74ba0cc7c1
12 changed files with 53 additions and 39 deletions

View File

@@ -25,7 +25,9 @@ from ipalib.compat import sha1
import shutil
import os
CA_NICKNAME = "IPA CA"
CA_NICKNAME_FMT = "%s IPA CA"
def get_ca_nickname(realm, format=CA_NICKNAME_FMT):
return format % realm
class CertDB(object):
"""