Link to home
Start Free TrialLog in
Avatar of bengxiong
bengxiong

asked on

Setup TLS on exchange 2003

I bought an SSL ceIftificate from godaddy and tried to setup an TLS on exchange 2003. I did some rearch and found some info how to setup an TLS. I check Require secure channel box and click on Require 128 bit and tried to sent out email but it just return back and said "Must issue a STARTTLS command first". Please need help how to setup.
Avatar of Jamie McKillop
Jamie McKillop
Flag of Canada image

Hello,

Are you trying to setup TLS on the default connector or have you setup a dedicated SMTP connector to exchange mail with TLS enabled domains?

Jamie
Avatar of bengxiong
bengxiong

ASKER

I setup a dedicated SMTP connector to exchange mail with TLS.
Have you verified that the domain you are trying to Exchange mail with is setup properly with TLS and you have addded that domain to the dedicated SMTP connector?

JJ
TLS in exchange server 2003.
Remember the following for configuring TLS
lets say you want to configure tls with ABC.COM
Outbound :
=========
for outbound you will have to create a dedicated smtp connector with address space abc.com smarthosted to the mx of remote domain. on that smtp connector enble TLS

Inbound:
========
on the default smtp virtual server .. you can install the certificate.

restart the smtp and routing engine service... this will fix the issue..

-x-sam-
Actually, you don't need to set a smarthost. Just use DNS. That way, you can setup a single connector to use with all TLS domains.

JJ
smart host is better.. why using DNS and delaying.. when TLS is used between two domains.
Ok, Let me tell you want I have done so far. I'm installed the SSL ceft. it works fine. I went to exchange systems manager, click on the name of the server, click on smtp virtual, click on access and check on TLS encryption. And the second step I did was go to Connector and create an new SMTP Connector and name it xxxx.com. Ok, if i don't have a smarthost would it still work? I used a linux box to do my mail filtering (Mailcleaner) so what I did was just pointing the mail exchange and linux box's ip address to the smarthost  where it said "Foward all mail through this connector to the following smarthost". Did i configured it correctly? and one another thing when I go to the SMTP virtual and click on access tab, click on commucation tab, check on Secure Channel and 128 bit. When I sent out email it go through but when someone send me a email it will just bounce back and said " "Must issue a STARTTLS command first".  Don't know what I did wrong.
Can someone remote in to my server and help me configured the TLS. I willing to pay. Let me know.

Thanks,

BX
Support outside of the site is not allowed.

The reason a smart host is usually used is to ensure that the email flows to the TLS enabled server.
The side sending you email must use the alternative port or another host name, because Exchange 2003 cannot do opportunist TLS. You cannot have TLS enabled on your regular MX records.

Simon.
Ok, I got the TLS setup. How do I test out to see if TLS is working on exchange server?
The most that you can do is telnet in to the server, issue a EHLO and see if startTLS is listed. If it is then Exchange is listening for the TLS. However as it is Server to Server, you need to get someone else to send you an email and see if it is received.

When a message that is secured by TLS is received Exchange will write to the headers that it was secured by TLS.

Simon.
If I don't check on the Box where it said Secure Channel and 128 bit would it still be secure by TLS? When I sent out emails to some people that does not have TLS secure enable would it still show the secure header where it said secured by TLS?
When you send email out, the settings on the SMTP virtual server do not apply, because it isn't your server controlling the connection. It is the setting on the SMTP Connector. The SMTP virtual server is for inbound email only.

If you have TLS enabled and the remote site does not support it, then the email will fail. Exchange 2003 doesn't do opportunist TLS, it is either on or off. Therefore you have to know which domains support TLS and set an SMTP connector for them specifically.

Simon.
Ok, I sent out a test to one of my client that is using TLS and their tech said my configuration might not be correct because my code is different from others that are using TLS. On mine it doesn't said" (using TLSv1)" Here's the example below that they sent me please let me know what I misconfigured.

Their TLS email: (They said it supposed to look like this)

Received: from psmtp.com ([65.18.10.100]) by tsd.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);
       Wed, 22 Apr 2009 09:02:15 -0500

Received: from source ([217.71.201.349) (using TLSv1) by tsd.com ([64.10.10.10]) with SMTP;

                Wed, 22 Apr 2009 06:02:15 PST

Received: from 10.1.1.63 [10.1.1.63]

                by mailserver2.com

                over TLS secured channel

                with XWall v3.43a ;
================================================================

My email that I sent them.

Microsoft Mail Internet Headers Version 2.0

Received: from psmtp.com ([92.10.2.10]) by mydomain.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);

             Fri, 8 May 2009 09:33:25 -0500

Received: from source ([10.10.10.1]) by serverdomain.com ([yourdomain.com]) with SMTP;

            Fri, 08 May 2009 08:33:26 MDT

            boundary="----_=_NextPart_001_01C9CFEA.669186DF"



The different ways that the TLS is flagged is down to each individual product. Microsoft doesn't says "TLSv1", what they put in their headers is the line that you can see "over TLS secured channel". Therefore it would appear to be working at least part of the way.

However for it to be a valid TLS secured transaction, all hops outside of your network and theirs need to be using TLS. So the internal hop will be fine, it is the hop from your public facing system to them.

Simon.
Ok, how do I fix the issue or need to do?

Thanks for your help.

BX
There is nothing to fix.
It is just the way the transfer is labelled.

Simon.
Ok, my client said the email that I sent them is not encrypt because it doesn't show"TLSv1" when Received: from source ([217.71.201.349) (using TLSv1) by tsd.com ([64.10.10.10]) with SMTP. (Not quite understand what their tech mean) So what do you mean by:
"However for it to be a valid TLS secured transaction, all hops outside of your network and theirs need to be using TLS. So the internal hop will be fine, it is the hop from your public facing system to them" Can you eplain it to me a little bit? so is there something misconfigured from my end? or when I sending them the email it is not encrypt at all?

Thanks for your help.

BX
The other side is expecting to see something that they will never see.

The TLSv1 is how their product reports the use of TLS. Microsoft's product reports it in a different way. TLS is being used.

Due to the way that you have munged the headers it is hard to tell which email is which. There is Postini involved as well, which further complicates matters.

Simon.
Ok, attachment is the real email they sent me.
Received.doc
Their tech said it supposed to look like the top one. The one below is my email I sent them.
This is just going round in circles, because if the email is coming in to Exchange it will not say the TLSv1 that they are looking for. The server that is receiving the email is what makes the line on the header.

Simon.
Simon,
My question is did I set up the TLS correctly?

Thanks,

BX
ASKER CERTIFIED SOLUTION
Avatar of Mestha
Mestha
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you do a netmon trace and check the communication between the two domains. it will clearly prove you if there was a TLS communication happenning or not..

-x-sam-
Simon,
Thank You.

BX