LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-12-2007, 06:56 PM   #1
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Rep: Reputation: 30
imaps certificate error


Every time i check my emails i am getting this up


Quote:
Localhost.domain is a site that uses a security certifiate to encryt data during transmiton buyt its certificate expired on 04/12/2006
Then i get this

Quote:
You have attemped to establish a connection with. However the security certificat presented belongs to localhost.localdomain.
Anyone know what i should do?

Last edited by namit; 01-12-2007 at 07:04 PM.
 
Old 01-12-2007, 09:39 PM   #2
osdeals
Member
 
Registered: Jul 2006
Distribution: RHEL, CentOS, PuppyLinux, SuSe, Ubuntu, Debian
Posts: 59

Rep: Reputation: 15
You'll need to generate a new certificate for your imap server if you want to stop getting the "certificate expired" message. If you want to get rid of the "certificate belongs to localhost.localdomain" message as well, you'll need to ensure you generate the certificate using the correct name with which you connect to the server.

If you're also getting messages about the certificate being issued by an untrusted issuer, you'll want to either buy a cert, or just install the cert into your browser as a trusted CA.

Note: If this is coming for a mail server which is provided by your hosting provider, and the server is used for shared hosting, you may not be able to get rid of the "untrusted issuer" and "localhost.localdomain" messages, since not many web hosts actually install full certificates on their shared mail servers.
 
Old 01-13-2007, 07:27 AM   #3
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Original Poster
Rep: Reputation: 30
How do i generate this certificate i just used the one that came with the configuration?
 
Old 01-14-2007, 09:46 PM   #4
osdeals
Member
 
Registered: Jul 2006
Distribution: RHEL, CentOS, PuppyLinux, SuSe, Ubuntu, Debian
Posts: 59

Rep: Reputation: 15
Creating your own cert on a RedHat / Fedora / CentOS box is as simple as:

1. cd /usr/share/ssl/certs
2. make something.pem
3. mv something.pem dovecot.pem (or imapd.pem) depending on which imap server you are using.

If you're looking at some other distribution or imap server, you'll just need to google it up. There are plenty of links to configuring SSL support for imap all over the 'net.

Hope that helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BlackBerry and IMAPS ddaas Linux - Networking 0 11-10-2005 08:59 AM
Imaps ajaye1971 Linux - Newbie 1 09-09-2005 02:37 PM
imaps certificate mcd Linux - Security 1 06-21-2005 07:30 PM
SPOP3 and IMAPS hypernetics Linux - Security 1 10-17-2003 08:25 PM
Configuring imaps on RH 7.1 bbunge Linux - General 2 09-28-2001 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration