/usr/share/pki/scripts/config is in pki-base 10.6.0-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | #
# --- BEGIN COPYRIGHT BLOCK ---
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright (C) 2018 Red Hat, Inc.
# All rights reserved.
# --- END COPYRIGHT BLOCK ---
#
# default PKI configuration
. /usr/share/pki/etc/pki.conf
# safe NSS_DEFAULT_DB_TYPE
_PKI_NSS_DEFAULT_DB_TYPE=${NSS_DEFAULT_DB_TYPE}
# system-wide PKI configuration
if [ -f /etc/pki/pki.conf ]; then
. /etc/pki/pki.conf
fi
# user-specific PKI configuration
if [ -f $HOME/.dogtag/pki.conf ]; then
. $HOME/.dogtag/pki.conf
fi
# set and verify NSS_DEFAULT_DB_TYPE
NSS_DEFAULT_DB_TYPE=${_PKI_NSS_DEFAULT_DB_TYPE}
case ${NSS_DEFAULT_DB_TYPE} in
dbm|sql)
break;;
*)
echo "ERROR: Unsupported NSS_DEFAULT_DB_TYPE=${NSS_DEFAULT_DB_TYPE}"
exit 1;;
esac
|