How to generate a dovecot self-signed SSL certificate under debian without all that fannying about with openssl commands

For my own reference more than anything.

This removes the old certs

find /etc/ssl -name dovecot.* -exec rm {} ;

This makes new ones

dpkg-reconfigure dovecot-common