#1  
Old 20th June 2006, 23:14
TheRudy TheRudy is offline
Senior Member
 
Join Date: Dec 2005
Posts: 216
Thanks: 1
Thanked 7 Times in 5 Posts
Default cert, common name = localhost

Right, i recreated cert using following lines:
Code:
cd /etc/postfix/ssl/
openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024
chmod 600 smtpd.key
openssl req -new -key smtpd.key -out smtpd.csr
openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt
openssl rsa -in smtpd.key -out smtpd.key.unencrypted
mv -f smtpd.key.unencrypted smtpd.key
openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650
As common name i put mail.domain.tpl, twice since i was asked twice during the whole process. Result = instead of mail.domain.tpl i get 'localhost' as common name.

I tried 3 times, tried using non http address, just text. I restarted postfix, sassl... and inetd everytime and still nothing, common name = localhost no matter what i do. All other 'fields' were also filled each time.

Which means, i'm doing something wrong in this. The question is what?
Reply With Quote
Sponsored Links
  #2  
Old 21st June 2006, 00:35
adamluz adamluz is offline
Member
 
Join Date: Aug 2005
Location: Burbank, California
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to adamluz Send a message via MSN to adamluz
Default

Just a guess here but you should try to reinstall. It will only upgrade the cert's. There you can put in the host under common name and it should set it up correctly.
Reply With Quote
  #3  
Old 21st June 2006, 03:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

What exactly did you put in when you created the cert?
__________________
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
  #4  
Old 21st June 2006, 14:02
TheRudy TheRudy is offline
Senior Member
 
Join Date: Dec 2005
Posts: 216
Thanks: 1
Thanked 7 Times in 5 Posts
Default

Quote:
Originally Posted by falko
What exactly did you put in when you created the cert?
What do you mean? You mean what text i entered when it asks me for common name and other info when doing certificate? Nothing special. Just company info and as COMMON NAME i tried everything. From full http to mail.domain.tpl (main domain) but not once i entered 'localhost'. No special chars, no dots, no nothing. Just letters.
Reply With Quote
  #5  
Old 22nd June 2006, 15:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

Quote:
Originally Posted by TheRudy
You mean what text i entered when it asks me for common name and other info when doing certificate?
Yes. What exactly did you type in?
__________________
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
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
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 18:58
view webalizer stats kuyaedz General 22 12th March 2006 15:45
Internet Mail Problem deezone Installation/Configuration 9 22nd February 2006 22:09
Virtual Users + Domains With Postfix etc. byw HOWTO-Related Questions 6 20th February 2006 11:10
Can't receive mail Gem Installation/Configuration 17 4th February 2006 20:29


All times are GMT +2. The time now is 08:07.


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