<?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>A weblog about Microsoft Technologies &#187; get-certificate</title>
	<atom:link href="http://www.anilerduran.com/index.php/tag/get-certificate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anilerduran.com</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 17:23:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Exchange 2007 &#8211; Outlook 2007 Sertifika Hatası</title>
		<link>http://www.anilerduran.com/index.php/2009/exchange-2007-outlook-2007-sertifika-hatasi/</link>
		<comments>http://www.anilerduran.com/index.php/2009/exchange-2007-outlook-2007-sertifika-hatasi/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 09:26:32 +0000</pubDate>
		<dc:creator>Anıl ERDURAN</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[cas]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[client access server]]></category>
		<category><![CDATA[default web site]]></category>
		<category><![CDATA[echange 2007]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[get-certificate]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[microsoft outlook 2007]]></category>
		<category><![CDATA[name]]></category>

		<guid isPermaLink="false">http://www.anilerduran.com/?p=1303</guid>
		<description><![CDATA[Bildiğimiz gibi Exchange 2003 kurulumundan sonra owa clientlar mailboxlarına direk 80 üzerinden erişiyorlardı.Bunun sebebi varsayılanda bir sertifika gelmemesi.Exchange 2007&#8242;de ise bu durum değişti ve IIS üzerindeki Deafult Web site varsayılanda sertifikalı olarak gelmektedir.Yalnız 1 senelik varsayılan bu sertifika kullanıldığında büyük ihtimalle hata alacaksınız.Sebebi sertifikanın ismi ile owa&#8217;ya eriştiğiniz dns isminin farklı olması. Localde bir CA&#8217;niz [...]]]></description>
			<content:encoded><![CDATA[
				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.anilerduran.com%2Findex.php%2F2009%2Fexchange-2007-outlook-2007-sertifika-hatasi%2F&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><div id="fb-root"></div><fb:send href="http://www.anilerduran.com/index.php/2009/exchange-2007-outlook-2007-sertifika-hatasi/" font=""></fb:send></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.anilerduran.com%2Findex.php%2F2009%2Fexchange-2007-outlook-2007-sertifika-hatasi%2F&amp;text=Exchange+2007+%E2%80%93+Outlook+2007+Sertifika+Hatas%C4%B1" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.anilerduran.com/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><script type="IN/Share" data-url="http://www.anilerduran.com/index.php/2009/exchange-2007-outlook-2007-sertifika-hatasi/"></script></span></div><p>Bildiğimiz gibi Exchange 2003 kurulumundan sonra owa clientlar mailboxlarına direk 80 üzerinden erişiyorlardı.Bunun sebebi varsayılanda bir sertifika gelmemesi.Exchange 2007&#8242;de ise bu durum değişti ve IIS üzerindeki Deafult Web site varsayılanda sertifikalı olarak gelmektedir.Yalnız 1 senelik varsayılan bu sertifika kullanıldığında büyük ihtimalle hata alacaksınız.Sebebi sertifikanın ismi ile owa&#8217;ya eriştiğiniz dns isminin farklı olması.</p>
<p>Localde bir CA&#8217;niz varsa basit bir şekilde IIS üzerinde yada exchange management shell kullanarak istediğiniz isimle sertifika çekebilirsiniz.Bu noktadan sonra client tarafı sertifika hatası almadan OWA&#8217;ya erişebilecektir.</p>
<p>Yalnız bu işlemden sonra ufak bir sıkıntı daha bizi bekliyor.dns ismi ile yeni bir sertifika oluşturduktan sonra Microsoft Outlook&#8217;u açtığımızda aşağıdaki gibi bir hatayla karşılaşırız.</p>
<p><a href="http://www.anilerduran.com/wp-content/uploads/2009/04/cert.jpg"><img class="alignnone size-full wp-image-1304" title="cert" src="http://www.anilerduran.com/wp-content/uploads/2009/04/cert.jpg" alt="" width="391" height="277" /></a></p>
<p><strong>&#8220;the name on the security certificate is invalid or does not match the name of the site&#8221;</strong></p>
<p>Burada oluşturduğumuz sertifika ile Outlook&#8217;un bağlanmaya çalıştığı isim farklı çıkıyor.Çünkü Mapi clientlar Client Access Serverları autodiscovery servisi için kullanırlar ve açılışta bu bağlantıyı kontrol ederler.Aradığı isim ise direk<strong> CAS&#8217;ın fqdn&#8217;idir</strong>.E biz sertifikayı dışarıdan ulaşacağımız dns ismi ile oluşturduğumuz için direk isim hatasını alıyoruz.</p>
<p>Bu problemin önüne geçmek için aşağıdaki Exchange Management Shell komutlarını çalıştıralım.</p>
<p>Set-ClientAccessServer -Identity <strong>CAS1</strong> -AutodiscoverServiceInternalUri <strong>https://mail.anilerduran.com</strong>/autodiscover/autodiscover.xml</p>
<p>Set-WebServicesVirtualDirectory -Identity &#8220;<strong>CAS1</strong>\EWS (Default Web Site)&#8221; -InternalUrl <strong>https://mail.anilerduran.com</strong>/ews/exchange.asmx</p>
<p>Set-OABVirtualDirectory -Identity &#8220;<strong>CAS1</strong>\oab (Default Web Site)&#8221; -InternalUrl <strong>https://mail.anilerduran.com</strong>/oab</p>
<p>Set-UMVirtualDirectory -Identity &#8220;<strong>CAS1</strong>\unifiedmessaging (Default Web Site)&#8221; -InternalUrl <strong>https://mail.anilerduran.com</strong>/unifiedmessaging/service.asmx</p>
<p>Bu komutlardaki CAS1 client access server&#8217;ınızın ismi.koyu renkli adresler ise daha önceden clientların dışarıdan owaya ulaşmaları için belirlediğiniz ve sertifikasını oluşturduğunuz adres.</p>
<p>Bu işlemden sonra CAS üzerinde iisreset komutuyla iis servisini yeniden başlatmanız yeter.Artık Outlook Mapi clientlarınız isimden dolayı gerçekleşen sertifika hatasını almayacaktır.</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.anilerduran.com%2Findex.php%2F2009%2Fexchange-2007-outlook-2007-sertifika-hatasi%2F&amp;t=Exchange%202007%20-%20Outlook%202007%20Sertifika%20Hatas%C4%B1" id="facebook_share_button_1303" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_1303') || document.getElementById('facebook_share_icon_1303') || document.getElementById('facebook_share_both_1303') || document.getElementById('facebook_share_button_1303');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_1303') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	
				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.anilerduran.com%2Findex.php%2F2009%2Fexchange-2007-outlook-2007-sertifika-hatasi%2F&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><div id="fb-root"></div><fb:send href="http://www.anilerduran.com/index.php/2009/exchange-2007-outlook-2007-sertifika-hatasi/" font=""></fb:send></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.anilerduran.com%2Findex.php%2F2009%2Fexchange-2007-outlook-2007-sertifika-hatasi%2F&amp;text=Exchange+2007+%E2%80%93+Outlook+2007+Sertifika+Hatas%C4%B1" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.anilerduran.com/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><script type="IN/Share" data-url="http://www.anilerduran.com/index.php/2009/exchange-2007-outlook-2007-sertifika-hatasi/"></script></span></div>]]></content:encoded>
			<wfw:commentRss>http://www.anilerduran.com/index.php/2009/exchange-2007-outlook-2007-sertifika-hatasi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

