From cfcd0157084daa5a40d91b4ab9b75eadd4133c08 Mon Sep 17 00:00:00 2001 From: Matthew Harmsen Date: Thu, 8 Nov 2012 18:13:58 -0800 Subject: Move default location for client certificate database * TRAC Ticket #395 - Dogtag 10: Add a Tomcat 7 runtime requirement to 'pki-server' * TRAC Ticket #398 - Move default location for client certificate database --- base/deploy/src/scriptlets/pkiparser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base/deploy/src/scriptlets/pkiparser.py') diff --git a/base/deploy/src/scriptlets/pkiparser.py b/base/deploy/src/scriptlets/pkiparser.py index cdc3b5f79..a10893231 100644 --- a/base/deploy/src/scriptlets/pkiparser.py +++ b/base/deploy/src/scriptlets/pkiparser.py @@ -1368,9 +1368,9 @@ def compose_pki_master_dictionary(): if not len(config.pki_master_dict['pki_client_dir']): config.pki_master_dict['pki_client_dir'] =\ os.path.join( - "/tmp", + os.path.expanduser("~"), ".pki", config.pki_master_dict['pki_instance_id'] + "_" +\ - config.pki_subsystem + "_" + "client") + config.pki_master_dict['pki_subsystem'].lower()) if not len(config.pki_master_dict['pki_client_database_dir']): config.pki_master_dict['pki_client_database_dir'] =\ os.path.join( -- cgit