[CentOS] SSL: Server CommonName mismatch: localhost.localdomain

Tue Jun 13 16:25:01 UTC 2006
M. Fioretti <mfioretti at mclink.it>

Greetings,

I have seen via google that this very problem was already discussed on
several lists some months ago, but the archives report no solution.

I have a remote server with dovecot 1.0-0_12.beta8 on Centos 4.3. IMAP
works just fine: I can read email from both Squirrelmail via web and
Kmail.

Now I have created an ssl certificate on the server, and I'm trying to
retrieve email via pop3s from my home PC (running suse, if this
matters)

When I launch fetchmail here at home I get the error below. Is it
caused by dovecot, or something else on the server, like some error I
could have made when generating and copying certificates?

TIA,
	Marco


marco at polaris:~> fetchmail -vv
fetchmail: 6.3.2 querying my.vps.fqdn.name (protocol POP3) at Tue 13 Jun 2006 05:22:50 PM CEST:
+poll started
fetchmail: Issuer Organization: SomeOrganization
fetchmail: Issuer CommonName: localhost.localdomain
fetchmail: Server CommonName: localhost.localdomain
fetchmail: Server CommonName mismatch: localhost.localdomain != my.vps.fqdn.name
fetchmail: my.vps.fqdn.name key fingerprint: 20:93:B4:D8:CB:75:AD:72:F6:00:A8:DC:CE:F2:53:6E
fetchmail: my.vps.fqdn.name fingerprints do not match!
23942:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
+failed:s3_clnt.c:894:
fetchmail: SSL connection failed.
fetchmail: socket error while fetching from remoteuser at my.vps.fqdn.name

-- 
Marco Fioretti                    mfioretti, at the server mclink.it
Fedora Core 3 for low memory      http://www.rule-project.org/

Only boring people ever get bored	    Anonymous

----- End forwarded message -----

-- 
Marco Fioretti                    mfioretti, at the server mclink.it
Fedora Core 3 for low memory      http://www.rule-project.org/

There is hopeful symbolism in the fact that flags do not wave in a
vacuum.                                        -- Arthur C. Clarke