From Dogtag
Jump to: navigation, search


Nuxwdog is a watchdog daemon that can be used to start, stop, monitor and reconfigure server programs. It is based on the uxwdog code that is used to start the Netscape Enterprise Server (NES).

Nuxwdog is used in Red Hat Certificate System 8 to start all of the Java-based and C/C++ based servers. These servers require passwords to access security databases in order to start, but there was a requirement that no unencrypted password files be stored on the system. In this case, nuxwdog is used to prompt the user for the relevant passwords during server startup. These passwords are then cached by the nuxwdog, so that nuxwdog can restart the server without human intervention. This is particularly important for automatically restarting the server in case of a server crash.

More details on how nuxwdog works and how to configure it can be found in this Nuxwdog/HOWTO

If you would like to contribute to the nuxwdog, a good place to start would be our Nuxwdog/Contributions page.

If you want to file a bug or enhancement request, please log in with your Fedora Account System credentials. If you do not have a Fedora Account, you can register for one at ​


$ dnf install nuxwdog


Enabling Nuwxdog

First, shutdown the server with the following command:

$ systemctl stop pki-tomcatd@pki-tomcat.service

Enable nuxwdog with the following command:

$ pki-server nuxwdog-enable

If any of the system certificates reside on a cryptographic token other than the internal NSS database, you will see entries like this in /etc/pki/pki-tomcat/password.conf:


In that case, add the following parameter to /etc/pki/pki-tomcat/subsystem/CS.cfg:


Remove the password file or move it somewhere else:

$ rm -f /etc/pki/pki-tomcat/password.conf

Restart the server with the following command:

$ systemctl start pki-tomcatd-nuxwdog@pki-tomcat.service
[pki-tomcat] Please provide the password for internal: **********
[pki-tomcat] Please provide the password for internaldb: **********
[pki-tomcat] Please provide the password for replicationdb: ***********

Disabling Nuxwdog

$ systemctl stop pki-tomcatd-nuxwdog@pki-tomcat.service
$ pki-server nuxwdog-disable
$ systemctl start pki-tomcatd@pki-tomcat.service

Manual Configuration

See Nuxwdog Manual Configuration.


To starting nuxwdog-enabled instance:

$ systemctl start pki-tomcatd-nuxwdog@pki-tomcat.service

To stopping nuxwdog-enabled instance:

$ systemctl stop pki-tomcatd-nuxwdog@pki-tomcat.service