7.1.1. Editing the setpin.conf Configuration File
The setpin tool can use a configuration file, setpin.conf, to store some of its required options. Before running setpin, modify this file to reflect the directory information, and set the setpin tool to use this file by doing the following:
Open the setpin.conf file.
cd /usr/lib/rhpki/native-tools vi setpin.conf
Edit the directory parameters in the file to match the directory installation information.
#------- Enter the hostname of the LDAP server host=localhost #------- Enter the port number of the LDAP server port=389 #------- Enter the DN of the Directory Manager user binddn=CN=Directory Manager #------- Enter the password for the Directory manager user bindpw= # Comment-out to turn off schema modification schemachange=yes # Enter the pin attribute name attribute=pin # Enter the pin objectclass objectclass=pinPerson # Enter the DN and password for the new pin manager user pinmanager=cn=pinmanager,o=example.com pinmanagerpwd= # Enter the base over which this user has the power # to remove pins basedn=ou=people,o=example.com ## This line switches setpin into setup mode. ## Please do not change it. setup=yes
Run setpin, and set the option file to setpin.conf.
setpin optfile=/usr/lib/rhpki/native-tools/setpin.conf