/usr/lib/courier/mkimapdcert is in courier-imap 4.18.1+0.78.0-2ubuntu2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/courier/mkcouriercert
/usr/lib/courier/mkcouriercert