Setting up the TLS Pool Dæmon¶
After all the preparation has been done, it is relatively simple to start the TLS Pool itself.
Have a last look through your configuration file, which is usually in
/etc/tlspool.conf if you installed it system-wide. Take note of at least the
following settings:
socket_namedefines the path of the UNIX domain socket to the TLS Poolsocket_userandsocket_groupdefine the user and group that may access its socket, together withsocket_modefor its access modedaemon_useranddaemon_groupdefine the user and group running the TLS Pooldb_envdirshould now be set to the absolute path at which you setup your BerkeleyDB database environmentpkcs11_pathshould point to your PKCS #11 shared librarypkcs11_tokenshould hold the identifying information of your token, created as per the directions provided by its manufacturer. You usually mention things likemodel,manufacturerandtokenin this token-query description; you may want to add theserialif you need an attribute that usually identifies a token uniquely given the other settingspkcs11_pinshould be present, and only be present, if you intend to avoid any questions to user land about the PKCS #11 PIN to usetls_dhparamfileis for caching only, and will at worst cause a warning; you should however have it appointed to an absolute path for best results, like/var/db/tlspool/db-params.pkcs3tls_onthefly_signcertandtls_onthefly_signkeyshould only be set if you intend to support on-the-fly creation of certificates. If they exist, they should represent existing credentials, and any file reference should be an absolute pathdnssec_rootkeyshould be in an absolute path, such as/var/tlspool/db/root.key; be sure to download to that location a validated version of the root key distributed with the TLS Pool or obtained throughdig . dnskey | grep 257
Once you are happy with your configuration, launch the TLS Pool with
tlspool -kc /etc/tlspool.conf
The argument -c provides a configuration file, and -k is used to kill any
TLS Pool running prior to this call. You can repeat this command if ever you
change the configuration file and need the TLS Pool to restart to read the new
configuration.
Once the TLS Pool is running, it will output information as per the settings in
log_level, log_filter and log_stderr. By default, that is quite a lot.