<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gretech.be &#187; Exchange</title>
	<atom:link href="http://gretech.be/blog/index.php/category/network/exchange/feed/" rel="self" type="application/rss+xml" />
	<link>http://gretech.be/blog</link>
	<description>Just another WordPress weblog...</description>
	<lastBuildDate>Sat, 20 Nov 2010 16:58:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Installing Exchange 2010 on Windows Server 2008 R2 DC</title>
		<link>http://gretech.be/blog/index.php/2010/04/27/installing-exchange-2010-on-windows-server-2008-r2-dc/</link>
		<comments>http://gretech.be/blog/index.php/2010/04/27/installing-exchange-2010-on-windows-server-2008-r2-dc/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 16:36:24 +0000</pubDate>
		<dc:creator>GregoryBE</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[outlook anywhere]]></category>
		<category><![CDATA[remember password]]></category>
		<category><![CDATA[rpc over http]]></category>

		<guid isPermaLink="false">http://gretech.be/blog/?p=81</guid>
		<description><![CDATA[A time ago I installed a Exchange 2010 server on Windows server 2008 R2 x64 for a friend of mine that couldn't get his Mac (buit-in Mail program) with Snow Leopard working with Exchange 2003. First some technical data: Exchange version (Get-ExchangeServer &#124; fl name,edition,admindisplayversion): 14.0 Build 639.21 After installing and forwarding the http/https ports, [...]]]></description>
			<content:encoded><![CDATA[<p>A time ago I installed a Exchange 2010 server on Windows server 2008  R2 x64 for a friend of mine that couldn't get his Mac (buit-in Mail  program) with <em>Snow Leopard </em>working with Exchange 2003.</p>
<p>First some technical data:</p>
<p>Exchange version (<em>Get-ExchangeServer | fl name,edition,admindisplayversion</em>): <strong>14.0 Build 639.21</strong></p>
<p>After installing and forwarding the http/https ports, there were no  problems for the mac, after a while I was also preparing to switch my  account to 2010 on all computers, then the problems began.</p>
<p>On the Exchange 2003 server I used ISA server 2007, where you just  select the RPC protocol to be allowed and ISA does the rest.  (Client  PCs connect on 135, and then the server assigns the client a private  port in the 49152-65535 range, wich the ISA firewall will open  automatically if needed)</p>
<p>The new Exchange 2010 server is behind an transparent Linux  firewall  (using Shorewall), and the RPC range is too big to just open all the  RPC ports. I thought, limiting the RPC range is an option, but RPC over  HTTPS is a much safer way and because the Belgium internet provider  Telenet blocks all outgoing traffic on port 135, from clients to the  internet (since the blast virus centuries ago!), RPC over HTTPS had to  be configured anyway.</p>
<p>Some errors I ran into:</p>
<ul>
<li>Error Message: This Security Certificate Was Issued by a Company  that You Have Not Chosen to Trust  (http://support.microsoft.com/kb/297681)</li>
<li>Indefinitely  loop of asking for logon credentials (login and  password) when opening outlook,  username and password were correct of  course, but they weren't accepted(I found out this was because the authentication type wasn't the same for IIS, the client and Outlook Anywhere)(on the bottom there is a link with other causes and solutions)</li>
<li>After using outlook for a while (2-3minutes) (configured to connect  without SSL), it prompts 3 certificate errors</li>
</ul>
<p>Steps that worked for me:</p>
<p>Because windows seems to have a seriously strict certificate policy I  also just installed the  certificate services on the server.</p>
<p>Step 1 <strong>Installing Windows Server 2008 R2 x64 and Exchange 2010</strong></p>
<ol>
<li>Install Windows Server 2008 R2 x64 (Configure your static IP and computername)</li>
<li>Run <strong>DCPROMO</strong></li>
<li>Install <strong>Roles</strong>
<ol>
<li>Active Directory Certificate Services
<ul>
<li>Certification Authority</li>
<li>Certification Authority Web Enrollment</li>
</ul>
</li>
<li>Web Server IIS
<ul>
<li>Security: Basic Authentication</li>
<li>Security: Windows Authentication</li>
<li>Performance: Static Content Compression</li>
<li>IIS 6 Management Compatibility: IIS6 Metabase Compatibility</li>
</ul>
</li>
</ol>
</li>
<li>Install <strong>Features</strong>
<ol>
<li>RPC over HTTP Proxy</li>
</ol>
</li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=60c92a37-719c-4077-b5c6-cac34f4227cc&amp;displaylang=en#filelist">Install 2007 Office System Converter: Microsoft Filter Pack</a></li>
<li>Set startup mode of "<strong>Net.Tcp Port Sharing Service</strong>" to <strong>Automatic</strong>: Using the powershell: Set-Service NetTcpPortSharing -StartupType Automatic</li>
<li>Install Updates (to be sure) and reboot</li>
<li>Install Exchange 2010</li>
</ol>
<p>Step 2 <strong>Installing Certificate</strong></p>
<ol>
<li>Follow this tutorial to install the certificate signed by your own CA<a href="http://gretech.be/blog/index.php/2010/04/24/installing-exchange-certificate-using-ad-certificate-services-gui-on-exchange-2010/" target="_blank">http://gretech.be/blog/index.php/2010/04/24/installing-exchange-certificate-using-ad-certificate-services-gui-on-exchange-2010/ </a></li>
</ol>
<p>Step 3<strong> Enable Outlook Anywhere (RPC over HTTP)</strong></p>
<ol>
<li>Open Exchange Management Console</li>
<li>Server Configuration &gt; Client Access &gt; Right click your server &gt; Enable Outlook Anywhere</li>
<li>Fill in the External host name, check NTLM, complete the wizard(I chose to use NTLM, because with NTLM it is possible to remember your password in windows, so you aren't always asked to enter credentials when opening outlook. check later steps to configure that on your client windows PC)</li>
<li>Reboot</li>
<li>Check that it is activated: Event viewer &gt;  Richt click Application log &gt; Filter &gt; Event ID: 3006, normally there is a log that says it is enabled;</li>
<li>HOSTS file edit, Normally this action is only needed if the exchange server is a Domain member, and is not required if the Exchange server and DC are the same. But just to be sure I did it anyway:
<ol>
<li>Open<em> C:\Windows\system32\drivers\etc\hosts</em> file</li>
<li>comment <em>#::1</em> if needed</li>
<li>add something like this: (gretechmail is the computername)<em>:::1 localhost</em><em>91.196.171.202 gretechmail</em>
<p><em>91.196.171.202 gretechmail.adn.gretech.be </em></li>
</ol>
</li>
</ol>
<p><a href="http://www.netometer.com/video/tutorials/windows-2008-how-to-configure-outlook-anywhere-exchange-2007/">Enable Outlook Anywhere Video tutorial</a> (Only step 1 needed)</p>
<p><a href="http://msexchangeteam.com/archive/2008/02/01/447989.aspx">Default settings for Exchange-related virtual directories in Exchange Server 2007</a></p>
<p>Step 4 <strong>Autodiscover</strong></p>
<ol>
<li>Create the CNAME autodiscover.emaildomain.com (f.e. if your email domain is @gretech.be, create a domain autodiscover.gretech.be and point it to the mailserver, in our case:  gretechmail.adn.gretech.be)or you can also use a SRV record if your DNS allows this<br />
: <a href="http://support.microsoft.com/kb/940881">http://support.microsoft.com/kb/940881</a></li>
</ol>
<p>More autodiscover options and troubleshooting can be found here: <a href="http://www.exchange-genie.com/2007/07/exchange-2007-autodiscover-service-part-1/">http://www.exchange-genie.com/2007/07/exchange-2007-autodiscover-service-part-1/</a></p>
<p>Testing Autodiscovery: <em>Test-OutlookWebServices -Identity Administrator | fl</em></p>
<p><strong>Problem</strong>: First Autodiscover didn't work for me, after running the above command in the Exchange shell, I've got the following error:</p>
<p><em>When contacting https://gretechmail.adn.gretech.be/Autodiscover/Autodiscover.xml received the error The remote server returned an error: (500) Internal Server Error.</em></p>
<p>The solution that worked for me was:</p>
<p><em>Remove-AutodiscoverVirtualDirectory -Identity "gretechmail\Autodiscover (Default Web Site)"</em></p>
<p><em>New-AutodiscoverVirtualDirectory</em></p>
<p>Step 5<strong> Configuring Exchange 2007 Hub Transport role to receive Internet mail</strong> (this applies only when installing all exchange services on 1 server, so no edge server)</p>
<p><a href="http://msexchangeteam.com/archive/2006/11/17/431555.aspx">http://msexchangeteam.com/archive/2006/11/17/431555.aspx</a></p>
<ul>
<li>Server Configuration &gt; Hub Transport &gt; <strong>Default Receive connector</strong>: Allow anonymous connections on the receive connector</li>
<li>Organization Configuration &gt; Hub Transport &gt; <strong>Accepted domains</strong>: Accept your domains to enter the server</li>
<li>Organization Configuration &gt; Hub Transport &gt; Create new Send Connector (to Internet, all domains) (<a href="http://www.petri.co.il/configuring-exchange-2007-send-external-email.htm">http://www.petri.co.il/configuring-exchange-2007-send-external-email.htm</a>)</li>
<li>Enable Anti-spam (using the poweshell):<em>cd "C:\Program Files\Microsoft\Exchange Server\V14\Scripts\"</em><em>./install-AntispamAgents.ps1</em>
<p><em>restart-service msexchangetransport</em></li>
<li>Disable the Microsoft Exchange EdgeSync service service</li>
</ul>
<p>Step 6 <strong>Configure outlook and remember my password </strong></p>
<ol>
<li>Install the CA certificate in IE with admin rights<br />
(XP: use the  created Rootinstall.asp page of step 2<br />
Vista/7: Download, Open and install the <strong>CA-cert.cer</strong> file created in step 2 in the "<em>Trusted Root certification authorities</em>" folder)</li>
<li>Control Panel &gt; View profiles &gt; Add &gt; Enter a profile name.</li>
<li> Normally if autodiscover works, you can enter your name and email according to the AD data.</li>
</ol>
<p>But, for testing purposes, screenshots of the manual procedure below.</p>
<ol>
<li>Control Panel &gt; View profiles &gt; Add &gt; Enter a profile name.</li>
<li>Manually configure server settings &gt; Select <em>Microsoft Exchange</em> and click next</li>
<li>Server: f.e <em>gretechmail.adn.gretech.be</em> (in our case)Username: f.e. <em>Gregory Beankens</em>Click <em>more setting</em> (ignore errors)</li>
<li> On the Security tab
<ol>
<li>Encryption &gt; Check<em> Encrypt data between Microsoft Outlook and Microsoft Exchange</em></li>
<li>Logon network security &gt;  <em>Negotiate Authentication</em></li>
</ol>
</li>
<li>On the Connection tab
<ol>
<li>Check<em> Connect to Miscrosoft Exchange using HTTP</em></li>
<li>Click <em>Exchange Proxy Settings</em> (check screenshot below)</li>
</ol>
</li>
<li>Click <em>OK</em> in all the windows and then <em>Next</em> to finish the wizard</li>
</ol>
<p><a href="http://gretech.be/blog/wp-content/uploads/2010/04/MSexchangeProxySettings.jpg"><img class="aligncenter size-full wp-image-99" title="MSexchangeProxySettings" src="http://gretech.be/blog/wp-content/uploads/2010/04/MSexchangeProxySettings.jpg" alt="" width="463" height="410" /></a></p>
<p><strong>How to remember my password: </strong></p>
<ol>
<li>Control panel &gt; <em>User accounts</em>, if necessary click on your account name</li>
<li> On the left, <em>manage your credentials</em> <em>(manage your network passwords</em> in vista) &gt; Add<br />
Domain:</li>
<li>The AD domain name (f.e. adn.gretech.be)Username: Username (f.e. Gregory Beankens)<br />
(ADdomainName\Username in Windows XP and Vista)</li>
</ol>
<p><a href="http://gretech.be/blog/wp-content/uploads/2010/04/windows7credentials.jpg"><img class="aligncenter size-full wp-image-98" title="windows7credentials" src="http://gretech.be/blog/wp-content/uploads/2010/04/windows7credentials.jpg" alt="" width="705" height="729" /></a></p>
<p>Handy installation guide for 2007, looks like 2010 installation.</p>
<p><a href="http://www.commodore.ca/windows/exchange/how_to_setup_exchange_2007_in_2hours.htm"> http://www.commodore.ca/windows/exchange/how_to_setup_exchange_2007_in_2hours.htm</a></p>
<p>Other solutions for the indefinitely loop of asking for logon credentials (login and  password) when opening outlook.</p>
<p><a href="http://dominicfallows.co.uk/2008/11/03/outlook-2007-keeps-asking-for-a-password-when-connecting-to-exchange-2007-rpc-over-http-outlook-anywhere/">http://dominicfallows.co.uk/2008/11/03/outlook-2007-keeps-asking-for-a-password-when-connecting-to-exchange-2007-rpc-over-http-outlook-anywhere/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://gretech.be/blog/index.php/2010/04/27/installing-exchange-2010-on-windows-server-2008-r2-dc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Exchange Certificate using AD Certificate Services (GUI) on Exchange 2010</title>
		<link>http://gretech.be/blog/index.php/2010/04/24/installing-exchange-certificate-using-ad-certificate-services-gui-on-exchange-2010/</link>
		<comments>http://gretech.be/blog/index.php/2010/04/24/installing-exchange-certificate-using-ad-certificate-services-gui-on-exchange-2010/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 21:55:05 +0000</pubDate>
		<dc:creator>GregoryBE</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[certificate services]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[outlook everywhere]]></category>
		<category><![CDATA[self signed]]></category>

		<guid isPermaLink="false">http://gretech.be/blog/?p=49</guid>
		<description><![CDATA[Guide to avoid all Invalid Certificate popups for Exchange 2010 with a self-signed certificate.]]></description>
			<content:encoded><![CDATA[<p>Installing all the necessary Roles &amp; Features</p>
<ol>
<li>Role: Active Directory Certificate Services<br />
(Certification Authority &amp; Certification Authority Web Enrollment)<br />
(if asked for an expire date, put it on 2060 or so)</li>
</ol>
<p>Summary:<br />
First we create a certificate server for the domain, after that we export a certificate request from Exchange, we import it in the created Certificate Authority server using the web interface, then save the .cer fileÂ  and import that one in Exchange again. After all that, do not forget to import the Certificate Authority certificate on the client pcs to avoid security warnings.</p>
<p>Step 1: <strong>Creating exchange certificate and exporting the request</strong>:</p>
<p>Follow this tutorial:<br />
<a href="http://www.mmmug.co.uk/blogs/nweb/archive/2009/04/21/27774.aspx" target="_blank">http://blogs.microsoft.co.il/blogs/eldadc/archive/2009/07/15/how-to-configure-exchange-2010-certificate.aspx</a><br />
- On the <em>Organization and Location </em>page, save the .req file for e.g. C:\Exch_req.req.<br />
When asked to send the request to a certificate authority, goto step 2. After step 2 continue the above tutorial.</p>
<p>Step 2: <strong>Submit Certificate request to your Certificate server</strong></p>
<ol>
<li>In IE on your Certificate Server, surf to <em><a href="https://127.0.0.1/certsrv" target="_blank">https://127.0.0.1/certsrv</a> </em>(first make sure 127.0.0.1 is a trusted website)<em><br />
</em></li>
<li>Click <strong>Request a certificate</strong></li>
<li><strong>Advanced certificate request</strong></li>
<li><strong>Submit a certificate request by using a base-64-encoded CMC or PKCS #10  file, or submit a renewal request by using a base-64-encoded PKCS #7  file</strong></li>
<li>Open <em>C:\Exch_req.req</em> with notepad, and <strong>copy the thumbprint</strong> (the string between theÂ  start and end message)</li>
<li><strong>Paste </strong>this thumbprint in the <em>Saved Request:</em> field</li>
<li>Change the <em>Certificate Template</em> to <strong>Web Server</strong></li>
<li>Click Submit</li>
<li>Download the Base64 version, .cer and .p7b version, save them to C:\exch-sert.cer and C:\exch-sert.p7b</li>
<li>Continue the tutorial from step 1.</li>
</ol>
<p>Step 3: <strong>Get your CA certificate and create installation web page for clients </strong>(so clients accept all certificates from this CA)</p>
<ol>
<li>Again goto <strong>https://127.0.0.1/certsrv/</strong></li>
<li>Click <strong>Download a CA certificate, certificate chain, or CRL</strong>, and click <strong>Yes </strong>in the Web Access Confirmation dialog</li>
<li>Select <strong>Base 64</strong></li>
<li>Click <strong>Download CA certificate</strong> and save it to <strong>C:\CA-cert.cer</strong></li>
<li>Create an edit C:\Inetpub\Wwwroot\Rootinstall.asp</li>
<li>Open: <a href="http://support.microsoft.com/?scid=kb%3Ben-us%3B297681&amp;x=6&amp;y=7" target="_blank">http://support.microsoft.com/?scid=kb%3Ben-us%3B297681&amp;x=6&amp;y=7</a> and goto step 3, copy that text in the file.</li>
<li>Replace<br />
<em>Set MyFile = fs.OpenTextFile("c:\certificates\base64.cer", 1)</em><br />
by<br />
<em>Set MyFile = fs.OpenTextFile("<strong>C:\CA-cert.cer</strong>", 1)</em></li>
<li>Browse to the Rootinstall.asp file from a client browser. If your root certificate is not already in the store, you are prompted to install it.</li>
</ol>
<p><em><span style="text-decoration: underline;"><strong>Vista / Windows 7</strong></span></em>: The Rootinstall.asp page doesn't seem to work in Vista and 7, Clients have to install the certificate manual.<br />
To allow clients to download the above created .cer file, open the <strong>Server Manager </strong>and open <strong>IIS7</strong>,</p>
<p><em>First </em>add the mime type: (IIS &gt; Mime Types, add extension:<strong><em> </em></strong><strong><em>.cer, </em></strong>type:<strong><em> </em>application/pkix-cert</strong>)</p>
<p><a href="http://gretech.be/blog/wp-content/uploads/2010/04/IIS7_CERmime.jpg"><img class="aligncenter size-full wp-image-139" title="IIS7_CERmime" src="http://gretech.be/blog/wp-content/uploads/2010/04/IIS7_CERmime.jpg" alt="" width="543" height="294" /></a><em>Second</em>, rename the .cer mapping to .cer1 to allow the file to be downloaded by the clients.</p>
<p><a href="http://gretech.be/blog/wp-content/uploads/2010/04/IIS7_HandlerMappings.jpg"><img class="aligncenter size-full wp-image-138" title="IIS7_HandlerMappings" src="http://gretech.be/blog/wp-content/uploads/2010/04/IIS7_HandlerMappings.jpg" alt="" width="853" height="583" /></a></p>
<p>Links<br />
<a href="http://it.thelibrarie.com/weblog/?p=55" target="_blank">http://it.thelibrarie.com/weblog/?p=55</a></p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;"><em>Get-ExchangeServer | fl name,edition,admindisplayversion</em></div>
]]></content:encoded>
			<wfw:commentRss>http://gretech.be/blog/index.php/2010/04/24/installing-exchange-certificate-using-ad-certificate-services-gui-on-exchange-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->