| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-05-2010, 04:18 AM
|
#1
|
|
LQ Newbie
Registered: May 2010
Posts: 12
Rep:
|
Need a little help configuring sendmail.cf for TLS
Hi. I'm running sendmail 8.13 on CentOS 4.3. I've found these instructions on a website to configure TLS:
6. Edit /etc/mail/sendmail.cf and add these lines. You should find commented-out versions of these settings in the file, maybe about a third of the way through it.
O CACertPath=/etc/mail/cert
O CACertFile=/etc/mail/cert/server.crt
O ServerCertFile=/etc/mail/cert/server.crt
O ServerKeyFile=/etc/mail/cert/server.key.open
O ClientKeyFile=/etc/mail/cert/server.crt
I followed a different guide to generate a cert request and what I've got are: mykey.pem (the private key),server.crt and ca.cer (both from geotrust)
So, should my config be:
CACertPath=/etc/mail/cert
CACertFile=/etc/mail/cert/ca.cer
ServerCertFile=/etc/mail/cert/server.crt
ServerKeyFile=/etc/mail/cert/mykey.pem
ClientKeyFile=/etc/mail/cert/server.crt
Is this right? Sorry, I'm from a windows background, so can't shake the idea that file extensions are important.
The CA cert is Base-64. Should I use the DER encoded instead?
|
|
|
|
05-05-2010, 03:18 PM
|
#2
|
|
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833
Rep: 
|
File extensions are meaningless (they are in windows too, they just set a default action typically.)
Optimally you're going to define cacert_path, cacert_file, server_cert, server_key, client_cert, client_key... extension doesn't matter (so long as things are cased right)
|
|
|
|
05-05-2010, 08:37 PM
|
#3
|
|
LQ Newbie
Registered: May 2010
Posts: 12
Original Poster
Rep:
|
So, does that mean my (proposed) config is right? I just want to make sure, cos I've screwed up sendmail before and caused 2 hours of downtime! Hope you don't mind me being slightly paranoid.
|
|
|
|
05-06-2010, 01:01 AM
|
#4
|
|
LQ Newbie
Registered: May 2010
Posts: 12
Original Poster
Rep:
|
OK, I think I got it working, but I'm getting these lines in maillog:
May 6 13:57:05 faplsgeg02 sendmail[20694]: STARTTLS=server, relay=e23smtp06.au.ibm.com [202.81.31.148], version=TLSv1/SSLv3, verify=OK, cipher=DHE-RSA-AES256-SHA, bits=256/256
May 6 13:57:08 faplsgeg02 sendmail[20700]: STARTTLS=client, relay=smtp.hp.com., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
May 6 13:57:11 faplsgeg02 sendmail[20717]: STARTTLS=server, relay=fdtp1.mail.host [10.164.28.10], version=TLSv1/SSLv3, verify=NO, cipher=DHE-RSA-AES256-SHA, bits=256/256
May 6 13:57:52 faplsgeg02 sendmail[20795]: STARTTLS=server, relay=sj-iport-4.cisco.com [171.68.10.86], version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-SHA, bits=128/128
What do these mean?
|
|
|
|
05-06-2010, 04:36 PM
|
#5
|
|
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833
Rep: 
|
Those are ssl/tls connections, you can see if they succeeded or failed and what cipher and such is part of the connections.
|
|
|
|
05-06-2010, 11:14 PM
|
#6
|
|
LQ Newbie
Registered: May 2010
Posts: 12
Original Poster
Rep:
|
Alright, I guess its working then. Thanks!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:03 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|