Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328
Original Poster
Rep:
I dont think theres anything wrong with the certificate. The problem lies with the fact that Sendmail hasnt been compiled with SSL support. So to fix it you need to : -
a) get a copy of Sendmail in RPM format that has compiled in support for SSL
b)Get a source code copy of Sendmail and configure and make it to support SSL. its very simple: -
1. Tar zxvf Sendmail.TGZ
2. cd ./Sendmailsorcedirectory
3. ./configure --help (the help switch will assist you in identifying the Switch needed to conpile SSL support)
4. ./configure --WithSSL (or however its shown in help in step 3)
5. make
6. make install
Now all you got to do is start the Sendmail server (may have to expilicitly do this with SSL support via a switch)
I have seen several articles on making changes to your site.config.m4 files and then using the make program to recompile. I am having trouble finding that... the big problem is that I have a downtime window of about 1 minute so I have to be able to get the old set up back instantly... which leaves me leary about walking down an unknown path. I am going to keep at it in my sort of slow sadistic way and will keep you updated on new changes.
As of now I do not get SSL not supported. I now get Error Reading From Network. Connection closed at host.
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328
Original Poster
Rep:
Have you got a spare mahine or something that you could test on???
If so try it out on that then if you know it works youve found your problem and can add ssl support to the system when down time wont be so problematic.
ok... all the directions say to telnet to port 25 and say ehlo... well we do not allow telnet... actually I don't think it was installed. we use ssh... and I have not been able to ssh to port 25.
I ran a netstat -l and got
tcp 0 0 *op3s :*: LISTEN
I didn't find anthing about smtps if that matters?
so I should be good on the TLS right? Anything else I can try to see what options sendmail has available other than telnet to port 25?
No back up server right now and the word from the boss is... no joy on the rebuild..
Now it is telling me that the hostname does not match. But when I look at the details about it it tells me some host and some domain
It doesn't have any of the details of that actual certificate.
This is all so very confusing.
Ok some more details
This is what I get when trying to send...
Negotiation Rejected
You have configured this personality/protocol to reject any exchange key lengths below 0.
, But the negotiated exchange key length is -1
Hence this established secure channel is unacceptable. Connection will be dropped.
In the Security parameters in Cipher Suite Information it has null for the key exchange algorithm, encryption algorithm and Integrity check algorithm.
When I try to check mail I get...
Negotiation Failed
The security Parameters all look ok
The message is...
Certificate bad: Destination Host name does not match host name in certificate
Server Certificate : Verified OK
I currently have the host in the certificate set to
host.domain.com and my certificate information manager in Eudora says the server name is mail.domain.com so I am going to generate a new set of certificates with the host as mail.domain.com
Anything else????
Last edited by markstevens; 07-30-2003 at 01:41 PM.
OK... so you are saying that for the CN I should have mydomain.com?
I guess I can give that a try but that still doesn't explain why when I look at the certificate details it says:
E = root@localhost.localdomain
CN = localhost.localdomain
OU = SomeOrganizationalUnit
O = SomeOrganization
L = SomeCity
S = SomeState
C = --
Instead of the information I can view in the certificate...
I am finding this extremely frustrating. I have been at this for nearly a week. No wonder why so many people give up and go to Microsux products... never the less I will keep going until I figure out how to make this work...
where mydomain = the real domain name and computername = the actual host name of the computer.
I am still getting SSL Negotiation Failed: Certificate bad: Destination Host name does not match host name in Certificat Cause: (-6984)
My big question here is .... which Certificate is it talking about? The server certificate or the CA?
How can I find out what it wants the host name to be? as in what does it think the destination host name is? I have my Eudora set to check mail from mail.mydomain.com
Well I think I am just about to scrap this whole Idea and just set up outlook with exchange.
Everyone is always talking about making the internet more secure... yet you have to have a PHD in computer wizardry in order to get something as simple as STARTTLS to work... Unreal... no wonder why the world is so insecure...
(Sorry had to vent my frustrations somewhere.)
Last edited by markstevens; 07-30-2003 at 03:37 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.