Improved support for the certificate command.