diff options
Diffstat (limited to 'ipapython')
-rw-r--r-- | ipapython/certdb.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ipapython/certdb.py b/ipapython/certdb.py index a2fbb0ec..4e838025 100644 --- a/ipapython/certdb.py +++ b/ipapython/certdb.py @@ -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): """ |