First remove the original test certs. Find their location as follows cat /etc/httpd/conf.d/ssl.conf | grep ^SSLCert SSLCertificateFile /etc/pki/tls/certs/localhost.crt SSLCertificateKeyFile /etc/pki/tls/private/localhost.key Get rid of the current cert / key rm -f...
Fedora
Changing the default dovecot imaps certificate on Fedora 7
edit /etc/pki/dovecot/dovecot-openssl.cnf to your settings cd /etc/pki/dovecot/ rm ./*/dovecot.pem find the dove mkcert.sh file locate mkcert.sh and run it /usr/libexec/dovecot/mkcert.sh