mail-mta/courier-1.1.5-r1 mkdhparams mkesmtpdcert refer to /usr/local/bin/certtool certtool is provided by net-libs/gnutls with the tools USE flag (so courier might want that) and places it in /usr/bin/ added tool use flag: USE='tool' emerge -a1N net-libs/gnutls and symlinked: ln -s /usr/bin/certtool /usr/local/bin/certtool as a work around. Reproducible: Always