From 74ba0cc7c1bdb9c560324a68c16593755bcda5d8 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 1 Nov 2010 13:51:14 -0400 Subject: Use Realm as certs subject base name Also use the realm name as nickname for the CA certificate --- install/tools/ipa-server-certinstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/tools/ipa-server-certinstall') diff --git a/install/tools/ipa-server-certinstall b/install/tools/ipa-server-certinstall index d853f718..9d69853e 100755 --- a/install/tools/ipa-server-certinstall +++ b/install/tools/ipa-server-certinstall @@ -89,7 +89,7 @@ def choose_server_cert(server_certs): return server_certs[num - 1] def import_cert(dirname, pkcs12_fname, pkcs12_passwd, db_password): - cdb = certs.CertDB(dirname) + cdb = certs.CertDB(dirname, api.env.realm) cdb.create_passwd_file(db_password) cdb.create_certdbs() [pw_fd, pw_name] = tempfile.mkstemp() -- cgit