<?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>Confused Amused &#187; cwa</title>
	<atom:link href="http://www.confusedamused.com/tags/cwa/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.confusedamused.com</link>
	<description></description>
	<lastBuildDate>Tue, 27 Jul 2010 03:03:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Why You Can&#8217;t Use a Wildcard Certificate for CWA 2007 R2</title>
		<link>http://www.confusedamused.com/notebook/why-you-cant-use-a-wildcard-certificate-for-cwa-2007-r2/</link>
		<comments>http://www.confusedamused.com/notebook/why-you-cant-use-a-wildcard-certificate-for-cwa-2007-r2/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 00:36:52 +0000</pubDate>
		<dc:creator>Tom Pacyk</dc:creator>
				<category><![CDATA[Office Communications Server 2007 R2]]></category>
		<category><![CDATA[2007]]></category>
		<category><![CDATA[cwa]]></category>
		<category><![CDATA[OCS]]></category>
		<category><![CDATA[R2]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[wildcard]]></category>

		<guid isPermaLink="false">http://www.confusedamused.com/notebook/why-you-cant-use-a-wildcard-certificate-for-cwa-2007-r2/</guid>
		<description><![CDATA[A few weeks ago I had posted an issue we were seeing internally after deploying Communicator Web Access R2 where we saw a certificate error only when IE was the user’s browser, even when going through a reverse proxy. After a lot of searching, debugging and help requests I finally got an answer back from [...]]]></description>
			<content:encoded><![CDATA[<p><p>A few weeks ago I had <a href="http://www.confusedamused.com/notebook/cwa-2007-r2-certificate-requirements/">posted an issue we were seeing internally</a> after deploying Communicator Web Access R2 where we saw a certificate error only when IE was the user’s browser, even when going through a reverse proxy. After a lot of searching, debugging and help requests I finally got an answer back from someone at Microsoft as to why this was happening. </p>  <p>The problem occurs because <strong>Internet Explorer only recognizes 1 level of a wildcard certificate</strong>. So, my initial logon and connection were completely valid to im.confusedamused.com using a wildcard certificate of *.confusedamused.com. The problem manifested itself whenever I would try and initiate a chat session with someone and the information bar would drop in complaining of a certificate mismatch. Doing some logging shows that the as.im.confusedamused.com and download.im.confusedamused.com URLs are contacted when you open a chat. Since IE won’t consider&#160; the *.confusedamused.com certificate valid for either of those URLs because they are technically 1 level deeper than my wildcard certificate is issued for, it generates a certificate warning. </p>  <p>I didn’t bother testing, but I imagine if you generated a SAN certificate with a subject name of *.confusedamused.com and a SAN of *.im.confusedamused.com IE would have allowed the connection with no warning. We ended up just going with a named SAN cert of the following:</p>  <p><strong>Subject Name</strong>: im.confusedamused.com</p>  <p><strong>Subject Alternative Names</strong>: im.confusedamused.com, as.im.confusedamused.com, download.im.confusedamused.com</p>  <p>For what it’s worth Firefox and Safari seem to accept multiple levels of a wildcard certificate just fine so the issue seems to be constrained to just IE. It would be great to say that CWA was just for other browsers anyway, but the desktop sharing features makes a strong case to include support for IE in your deployment.</p>  <p>For the next wave of OCS I’d hope the product team does away with the domain prefixes and just key off of suffixes instead using something like im.confusedamused.com/as or im.confusedamused.com/download so this is isn’t an issue. They did this for the /join and /dialin pieces, so I would think it’s possible. Oh well, maybe in 2010. </p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.confusedamused.com/notebook/why-you-cant-use-a-wildcard-certificate-for-cwa-2007-r2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Redirecting CWA 2007 R2 from HTTP to HTTPS in IIS 7</title>
		<link>http://www.confusedamused.com/notebook/redirecting-cwa-2007-r2-from-http-to-https-in-iis-7/</link>
		<comments>http://www.confusedamused.com/notebook/redirecting-cwa-2007-r2-from-http-to-https-in-iis-7/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 17:41:05 +0000</pubDate>
		<dc:creator>Tom Pacyk</dc:creator>
				<category><![CDATA[Office Communications Server 2007 R2]]></category>
		<category><![CDATA[2007]]></category>
		<category><![CDATA[7]]></category>
		<category><![CDATA[cwa]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[OCS]]></category>
		<category><![CDATA[R2]]></category>

		<guid isPermaLink="false">http://www.confusedamused.com/notebook/redirecting-cwa-2007-r2-from-http-to-https-in-iis-7/</guid>
		<description><![CDATA[This task has always been more of a pain that it ever should have, regardless of application. After trying a few of the usual hacks like requiring SSL and using a custom error page or an HTTP to HTTPS module I found I still wasn’t having any luck. From what I can tell this is [...]]]></description>
			<content:encoded><![CDATA[<p><p>This task has always been more of a pain that it ever should have, regardless of application. After trying a few of the usual hacks like requiring SSL and using a custom error page or an HTTP to HTTPS module I found I still wasn’t having any luck. From what I can tell this is because there actually isn’t any kind of default web page in the CWA virtual directory so when you browse to the HTTP version of the site you actually get a 404 “Page not Found” error before anything else happens.</p>  <p>I ended up keying off that idea and changed the 404 error page to be a redirect to the HTTPS page. I’m still testing this out, but I haven’t run into any issues yet with this approach. To change your site the same way:</p>  <ol>   <li>Open <strong>IIS 7 Manager</strong>.</li>    <li>Click on the CWA virtual web site you want to redirect.</li>    <li>Double-click on <strong>Error Pages</strong>.</li>    <li>Highlight <strong>404</strong> and press <strong>Edit </strong>in the right pane.</li>    <li>Select the <strong>Respond with a 302 redirect</strong>, enter <strong>https://My-CWA-URL</strong> and click <strong>OK</strong>. </li>    <li>Run a<strong> iisreset /noforc</strong>e for good measure. </li> </ol>  <p>I’m curious how this works for everyone and if you see any issues with this method.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.confusedamused.com/notebook/redirecting-cwa-2007-r2-from-http-to-https-in-iis-7/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CWA 2007 R2 Certificate Requirements</title>
		<link>http://www.confusedamused.com/notebook/cwa-2007-r2-certificate-requirements/</link>
		<comments>http://www.confusedamused.com/notebook/cwa-2007-r2-certificate-requirements/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 19:40:15 +0000</pubDate>
		<dc:creator>Tom Pacyk</dc:creator>
				<category><![CDATA[Office Communications Server 2007]]></category>
		<category><![CDATA[2007]]></category>
		<category><![CDATA[cwa]]></category>
		<category><![CDATA[OCS]]></category>
		<category><![CDATA[R2]]></category>
		<category><![CDATA[SAN]]></category>

		<guid isPermaLink="false">http://www.confusedamused.com/notebook/cwa-2007-r2-certificate-requirements/</guid>
		<description><![CDATA[Just finished banging my head against the wall on this one. With the original release of OCS 2007 I would typically place a wildcard certificate on the internal Communicator Web Access virtual server. I’ve found that most of my clients don’t have their internal Root CA certificates installed on Linux or Mac machines so using [...]]]></description>
			<content:encoded><![CDATA[<p><p>Just finished banging my head against the wall on this one. With the original release of OCS 2007 I would typically place a wildcard certificate on the internal Communicator Web Access virtual server. I’ve found that most of my clients don’t have their internal Root CA certificates installed on Linux or Mac machines so using the wildcard avoided any kind of certificate trust errors. No dice in R2. Using a wildcard seems to break pieces of CWA (at least for an implementation collocated on a Front-End server). </p>  <p>The R2 documentation (as if I would read that first…) lays out that you actually need the machine FQDN on the virtual server certificate.</p>  <blockquote>   <p><strong>Subject Name: </strong>Matches the URL of the Communicator Web Access site. For example, if the URL is https://im.contoso.com then the certificate should have im.contoso.com as subject name.</p>    <p><strong>Subject Alternative Names: </strong>Includes the following: The URL of the Communicator Web Access site. The as URL. The download URL. The fully qualified domain name (FQDN) of the Communicator Web Access server.</p> </blockquote>  <p>This doesn’t really lay out what to do if you have a differing internal and SIP domains. So in my case, internal domain is ptown.local, SIP domain is confusedamused.com. CWA server FQDN is cwa.ptown.local and my published CWA url is im.confusedamused.com. My virtual server cert looks like this:</p>  <p><strong>Subject Name</strong>: im.confusedamused.com</p>  <p><strong>Subject Alternative Names</strong>: im.confusedamused.com,as.im.confusedamused.com,download.im.confusedamused.com,cwa.ptown.local</p>  <p>Without that last SAN entry you can sign in, but you’ll see the IE information bar indicate a certificate error when you try to initiate a chat with someone. It must be trying to reach the machine FQDN and when it doesn’t see the name on the cert it throws an error. This is probably the part that doesn’t work with the wildcard as well.</p>  <p>The error you’ll see in IE is this:</p>  <blockquote>   <p>To help protect your security, Internet Explorer has blocked this website from displaying content with security certificate errors.</p> </blockquote>  <p>So what’s this mean? Better start getting those Root CA certs out to your Linux and Mac clients.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.confusedamused.com/notebook/cwa-2007-r2-certificate-requirements/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>CWA 2007 R2 Login Fails</title>
		<link>http://www.confusedamused.com/notebook/cwa-2007-r2-login-fails/</link>
		<comments>http://www.confusedamused.com/notebook/cwa-2007-r2-login-fails/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 23:31:21 +0000</pubDate>
		<dc:creator>Tom Pacyk</dc:creator>
				<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[2007]]></category>
		<category><![CDATA[cwa]]></category>
		<category><![CDATA[OCS]]></category>
		<category><![CDATA[R2]]></category>
		<category><![CDATA[spn]]></category>

		<guid isPermaLink="false">http://www.confusedamused.com/notebook/cwa-2007-r2-login-fails/</guid>
		<description><![CDATA[Ran into this bug today while trying to deploy Communicator Web Access 2007 R2 on Windows Server 2008. Apparently the SPN isn’t registered properly during the installation process which causes integrated authentication to fail. After you try to sign in you’ll see this error:     Cannot sign in because your computer clock [...]]]></description>
			<content:encoded><![CDATA[<p><p>Ran into this bug today while trying to deploy Communicator Web Access 2007 R2 on Windows Server 2008. Apparently the SPN isn’t registered properly during the installation process which causes integrated authentication to fail. After you try to sign in you’ll see this error:</p>  <blockquote>   <p>Cannot sign in because your computer clock is not set correctly or your account is invalid.(Error code: 0-1-492) </p> </blockquote>  <p><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="381" alt="image" src="http://www.confusedamused.com/wp-content/pictures/2009/02/image.png" width="330" border="0" /> </p>  <p>Jason Shave ran across this same issue a few weeks ago and has a <a href="http://jason-shave.blogspot.com/2009/01/communcator-web-access-error-0-1-492.html">nice explanation on how to add the SPN</a> to your CWAService account.</p>  <p>I had to restart the CWA virtual server before the SPN change took effect, but after that CWA logged in just fine:</p>  <p><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="321" alt="image" src="http://www.confusedamused.com/wp-content/pictures/2009/02/image1.png" width="329" border="0" /></p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.confusedamused.com/notebook/cwa-2007-r2-login-fails/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
