#1  
Old 27th February 2007, 23:24
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default imap ssl cert

Hello again

I tried to generate a new ssl cert for my IMAPD courier ...

I used

Code:
mkimapdcert
after removing the old imapd.pem

I also edited

Code:
/etc/courier/imapd.cnf
As I can see a Cert is generated with the right Parameters. But if
i connect via imap to the mailserver the cert is again for localhost with
all old Parameters.

Do I have to edit another Parameter - File?

best regards
Reply With Quote
Sponsored Links
  #2  
Old 28th February 2007, 19:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Which distribution do you use? What did you change in /etc/courier/imapd.cnf? What's in that file now?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 1st March 2007, 00:29
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Falko!

I'm using debian 3.1 sarge

I just replaced the given Parameters for

Code:
[ req_dn ]
C=DE
ST=Hamburg
L=Hamburg
O=HCS
OU=Webhosting
CN=mail.myhighclass.de
emailAddress=webmaster@myhighclass.de
Reply With Quote
  #4  
Old 1st March 2007, 21:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

The file looks ok.
Maybe mkimapdcert takes some parameters. Did you check out
Code:
man mkimapdcert
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 2nd March 2007, 14:49
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i looked at the manpage again and there are no specified parameter exept the content of imapd.cnf

if i execute mkimapdert i get this output:

Code:
Generating a 1024 bit RSA private key
...................++++++
........++++++
writing new private key to '/usr/lib/courier/imapd.pem'
-----
1024 semi-random bytes loaded
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
..+..................+....................................................................+...++*++*++*++*++*++*
subject= /C=DE/ST=Hamburg/L=Hamburg/O=HighClass.Services/OU=Webhosting/CN=mail.myhighclass.de/emailAddress=webmaster@myhighclass.de
notBefore=Mar  2 13:45:18 2007 GMT
notAfter=Mar  1 13:45:18 2008 GMT
as u can see, the parameters of imapd.cnf are correct ...

now i deleted imapd.pem and restarted courier-imapd ...

then i connected to the server and i can see, that its again the std - cert ..

no warning or error with the missing imapd.pem ?!
Reply With Quote
  #6  
Old 2nd March 2007, 14:53
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

i'm stupid ... sorry

after looking at imap-ssl - config - file i copied the new imapd.pem
to the right location and now it works ...

sorry for wasting ure time
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssl cert expired unkn0wn Server Operation 6 11th June 2006 21:51
Upgrade from 2.2.0 to 2.2.1 successful but SSL and IMAP stopped working teleriddler Installation/Configuration 8 29th April 2006 14:25
Can't get SSL Cert to work rbartz Installation/Configuration 4 23rd April 2006 09:32
Courier IMAP & POP without SSL work, but not with SSL. Traxus Installation/Configuration 15 4th April 2006 18:50
REAL SSL Cert install problems theduke Installation/Configuration 5 4th October 2005 22:06


All times are GMT +2. The time now is 14:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.