IMAP Certificate Through GoDaddy

IMAP Certificate through GoDaddy:

Run command:

openssl req -new -newkey rsa:2048 -nodes -keyout domain.key -out domain.csr

Submit to GoDaddy domain.csr.

Download from GoDaddy zip file for OTHER server.

The zip file will contain 2 CRT files: something like gd_bundle***.crt and ******.crt

Rename gd_bundle***.crt to just gd_bundle.crt

Rename *****.crt to [domain name].crt

Rename domein.key to ssl.key

Run command:

cat [domain name].crt gd_bundle.crt > imapcert.pem

Now copy the files to the proper directories:

cp -i ssl.key /etc/ssl/private/

cp -i imapcert.pem /etc/ssl/certs/

Edit lines in /etc/dovecot/dovecot.conf accordingly:

ssl_cert = </etc/ssl/certs/imapcert.pem

ssl_key = </etc/ssl/private/ssl.key

Restart dovecot: service dovecot reload

Verify enddate for cert: