<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results for 'app:weblogs' matching tags 'troubleshooting', 'tip', and 'Security'</title><link>http://msmvps.com/search/SearchResults.aspx?q=app:weblogs&amp;tag=troubleshooting,tip,Security&amp;orTags=0&amp;o=DateDescending</link><description>Search results for 'app:weblogs' matching tags 'troubleshooting', 'tip', and 'Security'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Disabling a User in AD Does Not Disable the User In Lync</title><link>http://msmvps.com/blogs/expta/archive/2011/03/21/disabling-a-user-in-ad-does-not-disable-the-user-in-lync.aspx</link><pubDate>Mon, 21 Mar 2011 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1790317</guid><dc:creator>Anonymous</dc:creator><description>It&amp;#39;s quite common for companies to disable user accounts in Active Directory,&amp;nbsp;rather than delete them, when a user leaves the company.&amp;nbsp; This allows other IT staff and managers to access that user&amp;#39;s data and email after they are gone.&lt;br /&gt;
&lt;br /&gt;
However, disabling a user account in Active Directory does not immediately disable the user from using Lync.&amp;nbsp; This is due to the way that Lync performs authentication and, depending on several factors, could result in a disabled user accessing Lync for up to nearly 6 months!&amp;nbsp; Obviously, this is important to understand since you don&amp;#39;t want disabled users to access internal resources or make Enterprise Voice calls.&lt;br /&gt;
&lt;br /&gt;
The purpose of this article is to explain how and why this happens and how to successfully disable a Lync user&amp;#39;s account immediately without having to delete the user account from AD.&lt;br /&gt;
&lt;br /&gt;
Lync Server 2010 uses several methods of authentication: Kerberos, NTLM, and certificate based.&amp;nbsp; Kerberos is the default authentication method and successful authentication results in the client receiving a Kerberos ticket that&amp;#39;s good for 10 hours.&amp;nbsp; Kerberos is used when users are accessing Lync Server while on the domain.&amp;nbsp; NTLM is used for authentication from other locations, such as the Internet for remote access using Lync Edge servers.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear:both;text-align:center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-QojtqSEBaVo/TYebYVq4kHI/AAAAAAAAF8Q/Ka0HG7YjylY/s1600/Sign-In+Lync.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;img border="0" height="400" src="https://lh5.googleusercontent.com/-QojtqSEBaVo/TYebYVq4kHI/AAAAAAAAF8Q/Ka0HG7YjylY/s400/Sign-In+Lync.png" width="253" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear:both;text-align:center;"&gt;&lt;br /&gt;
&lt;/div&gt;If the user authenticates using one of these two methods and selects the &lt;strong&gt;Save my password&lt;/strong&gt; check box (shown above), the Lync server will generate an X.509&amp;nbsp;certificate&amp;nbsp;for the user.&amp;nbsp; Lync will publish the certificate to Lync RTC database and distribute it, along&amp;nbsp;with the private key, to the personal certificate store to the user on the local computer.&amp;nbsp; The certificate expires 180 days from the publication date and is used for further authentication for that user from that computer.&amp;nbsp; An example OCS signed certificate from the user&amp;#39;s Personal certificate store is shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear:both;text-align:center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-2Y4k_hAYoWg/TYebcVMSCaI/AAAAAAAAF8c/EZViF5cMvvA/s1600/Keith+Certificate.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;img border="0" height="400" src="https://lh3.googleusercontent.com/-2Y4k_hAYoWg/TYebcVMSCaI/AAAAAAAAF8c/EZViF5cMvvA/s400/Keith+Certificate.png" width="321" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Certificate authentication is convenient and speeds up the sign-in process significantly, but it means that Lync doesn&amp;#39;t check the AD user account to see if it&amp;#39;s disabled.&amp;nbsp; If a disabled user signs into Lync using certificate authentication, they will still have access to all Lync features including IM, web conferencing and Enterprise Voice until the certificate expires.&lt;br /&gt;
&lt;br /&gt;
The certificate(s) used by a Lync user can be viewed from the Lync Management Shell using the &lt;strong&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;, Courier, monospace;"&gt;Get-CsClientCertificate&lt;/span&gt;&lt;/strong&gt; cmdlet.&amp;nbsp; For example,&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;, Courier, monospace;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;blockquote&gt;&lt;strong&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;, Courier, monospace;"&gt;Get-CsClientCertificate sip:&lt;em&gt;username@domain.com&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt; &lt;/blockquote&gt;&lt;span style="font-family:inherit;"&gt;will display all the certificates the certificates stored in the rtc database for that user. If the user has run Lync from three different computers, there will be three certificates listed for the user, as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear:both;text-align:center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-yP2ZgeOl3RY/TYebZkJiC_I/AAAAAAAAF8U/KxMe-axRHVA/s1600/CsClientCertificate.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;span style="font-family:inherit;"&gt;&lt;img border="0" height="315" src="https://lh4.googleusercontent.com/-yP2ZgeOl3RY/TYebZkJiC_I/AAAAAAAAF8U/KxMe-axRHVA/s400/CsClientCertificate.png" width="400" alt="" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span style="font-family:inherit;"&gt;Remote users with a valid client certificate can continue to sign in and access Lync until their certificate expires, regardless of whether their account is disabled or not.&lt;br /&gt;
&lt;br /&gt;
You can revoke a certificate using the &lt;strong&gt;Revoke-CsClientCertificate&lt;/strong&gt; cmdlet in the Lync Management Shell, but this will not affect users who are currently signed into Lync.&amp;nbsp; For domain computers, the user will be able to use Lync until their Kerberos ticket expires (up to 10 hours).&amp;nbsp; Remote users using certificate authentication will remain signed in until they sign out, the Lync server is restarted, or their certificate expires (up to 180 days).&lt;br /&gt;
&lt;br /&gt;
To prevent a user (enabled or disabled) from using Lync, you must disable their Lync account using the Lync Control Panel or the&amp;nbsp;Lync Management Shell, as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family:inherit;"&gt;&lt;br /&gt;
&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear:both;text-align:center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-CxDyhTbe2io/TYebazuCaOI/AAAAAAAAF8Y/15RylumrRTQ/s1600/Disable+Lync+User.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;span style="font-family:inherit;"&gt;&lt;img border="0" height="290" src="https://lh5.googleusercontent.com/-CxDyhTbe2io/TYebazuCaOI/AAAAAAAAF8Y/15RylumrRTQ/s400/Disable+Lync+User.png" width="400" alt="" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span style="font-family:inherit;"&gt;To disable the Lync user account using the Management Shell, run the following cmdlet:&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;&lt;blockquote&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Disable-CsUser sip:&lt;em&gt;user@domain.com&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:inherit;"&gt;Note that it may still take a few minutes for a signed-in user to become disconnected, however they will be unable to access any Lync features, such as new IM, web conferencing, or Enterprise Voice calls immediately.&amp;nbsp; If they happen to be in an IM session or web conference when their Lync account is disabled, they can continue until they disconnect.&amp;nbsp; Likewise, if they are in a voice call when their Lync account is disabled, the call will continue until the call ends.&amp;nbsp; The Lync client for the disabled user will display the following:&lt;br /&gt;
&lt;span style="font-family:inherit;"&gt;&lt;br /&gt;
&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear:both;text-align:center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-fSbEYypauao/TYezPZBEM2I/AAAAAAAAF8g/6GHeS69SYj8/s1600/Disabled+Lync+User.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;span style="font-family:inherit;"&gt;&lt;img border="0" height="400" src="https://lh5.googleusercontent.com/-fSbEYypauao/TYezPZBEM2I/AAAAAAAAF8g/6GHeS69SYj8/s400/Disabled+Lync+User.png" width="253" alt="" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear:both;text-align:center;"&gt;&lt;span style="font-family:inherit;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear:both;text-align:left;"&gt;&lt;span style="font-family:inherit;"&gt;Thanks to &lt;/span&gt;&lt;a href="http://www.confusedamused.com/" target="_blank"&gt;&lt;span style="font-family:inherit;"&gt;Tom Pacyk&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:inherit;"&gt; for sharing this with me&amp;nbsp;while he was at &lt;strong&gt;Microsoft Certified Master: Lync&amp;nbsp; Server&lt;/strong&gt; training.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;Did you find this information useful? Post a comment and share it with others!&lt;img width="1" height="1" src="https://blogger.googleusercontent.com/tracker/798194812750898417-2649825187516466613?l=www.expta.com" alt="" /&gt;&lt;/div&gt;</description></item><item><title>Installing Lync 2010 Without Domain Admin Rights</title><link>http://msmvps.com/blogs/expta/archive/2011/02/16/installing-lync-2010-without-domain-admin-rights.aspx</link><pubDate>Wed, 16 Feb 2011 06:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1788282</guid><dc:creator>Anonymous</dc:creator><description>I recently installed Lync Server 2010 at a customer where I did not have Domain Admin rights.&amp;nbsp; This presents a challenge, since setting up Lync Server requires various updates to Active Directory.&amp;nbsp; The online documentation isn&amp;#39;t very clear on on this, so that&amp;#39;s the purpose of this article.&lt;br /&gt;&lt;br /&gt;Before you get started installing Lync, you will need to update the schema and prepare both the forest and the domains.&amp;nbsp; The schema updates require Schema Admin rights, and the forest and domain preps require Enterprise Admin rights or Domain Admin rights in each domain.&lt;br /&gt;&lt;br /&gt;In order to&amp;nbsp;hand over the Lync Server installation to a non-Domain Admin, you will need to do a few more things.&amp;nbsp; First, add the Lync setup administrator account to the &lt;strong&gt;CS Administrator &lt;/strong&gt;and &lt;strong&gt;RTCUniversalServerAdmins &lt;/strong&gt;groups in AD.&amp;nbsp; These groups were created in the domainprep steps performed earlier.&lt;br /&gt;&lt;br /&gt;Next, you will need to grant setup permissions to allow the Lync setup administrator to update AD as needed by the Lync Server Topology Builder tool.&amp;nbsp; This is done using the &lt;strong&gt;&lt;span style="color:#20124d;"&gt;Grant-CsSetupPermission&lt;/span&gt;&lt;/strong&gt; cmdlet.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Logon to the server where Lync is going to be installed as a member of the Domain Admins group.&lt;/li&gt;&lt;li&gt;Open the Lync Server Management Shell as an administrator and run the following cmdlet:&lt;/li&gt;&lt;/ol&gt;&lt;blockquote&gt;&lt;strong&gt;Grant-CsSetupPermission -ComputerOU &lt;em&gt;&amp;lt;DN of the OU where&amp;nbsp;the Lync server&amp;nbsp;exists&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/blockquote&gt;For example:&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;Grant-CsSetupPermission -ComputerOU “OU=Lync Servers,OU=Servers,DC=US,DC=companyabc,DC=local”&lt;/strong&gt;&lt;/blockquote&gt;If this step is not run, it will fail to enable the topology in the Topology Builder and you will see the following error:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:red;font-size:x-small;"&gt;Error: An error occurred: “System.UnauthorizedAccessException” “Access is denied. (Exception from HRESULT: 0×80070005 (E_ACCESSDENIED))”&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;/div&gt;Finally, grant permissions to allow the Lync setup administrator to update objects in the Lync servers OU with necessary group memberships.&amp;nbsp; This is done using the &lt;strong&gt;&lt;span style="color:#20124d;"&gt;Grant-CsOUPermission&lt;/span&gt;&lt;/strong&gt; cmdlet.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Logon to the server where Lync is going to be installed as a member of the Domain Admins group.&lt;/li&gt;&lt;li&gt;Open the Lync Server Management Shell as an administrator and run the following cmdlet:&lt;/li&gt;&lt;/ol&gt;&lt;blockquote&gt;&lt;strong&gt;Grant-CsOUPermission -OU &lt;em&gt;&amp;lt;DN of the OU where the Lync server exists&amp;gt; -ObjectType &amp;quot;user&amp;quot;&lt;/em&gt;&lt;/strong&gt;&lt;/blockquote&gt;For example:&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;Grant-CsSetupPermission -OU “OU=Lync Servers,OU=Servers,DC=US,DC=companyabc,DC=local” -ObjectType &amp;quot;user&amp;quot;&lt;/strong&gt;&lt;/blockquote&gt;If this step is not run, you will see the following errors when publishing the Lync topology with Topology Builder:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:red;font-size:x-small;"&gt;Error: An error occurred when add &amp;quot;lyncpool&amp;quot; to &amp;quot;RTCComponentUniversalServices&amp;quot;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:red;font-size:x-small;"&gt;Error: An error occurred when add &amp;quot;lyncpool&amp;quot; to &amp;quot;RTCHSUniversalServices&amp;quot;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:red;font-size:x-small;"&gt;Error: An error occurred when add &amp;quot;lyncpool&amp;quot; to &amp;quot;RTCHSUniversalServices&amp;quot;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:red;font-size:x-small;"&gt;Error: An error occurred when add &amp;quot;lyncpool&amp;quot; to &amp;quot;RTCComponentUniversalServices&amp;quot;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:red;font-size:x-small;"&gt;Error: An error occurred when add &amp;quot;lyncpool&amp;quot; to &amp;quot;RTCUniversalConfigReplicator&amp;quot;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:red;font-size:x-small;"&gt;Error: An error occurred when add &amp;quot;lyncpool&amp;quot; to &amp;quot;RTCComponentUniversalServices&amp;quot;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:red;font-size:x-small;"&gt;Error: An error occurred when add &amp;quot;lyncpool&amp;quot; to &amp;quot;RTCComponentUniversalServices&amp;quot;.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;You can now turn the setup over to the Lync setup administrator to complete the installation.&lt;div class="blogger-post-footer"&gt;Did you find this information useful? Post a comment and share it with others!&lt;img width="1" height="1" src="https://blogger.googleusercontent.com/tracker/798194812750898417-4175949061977840314?l=www.expta.com" alt="" /&gt;&lt;/div&gt;</description></item><item><title>Adding users to local security groups using Group Policy</title><link>http://msmvps.com/blogs/expta/archive/2011/02/03/adding-users-to-local-security-groups-using-group-policy.aspx</link><pubDate>Thu, 03 Feb 2011 06:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1787565</guid><dc:creator>Anonymous</dc:creator><description>You may find that you need to add users to one or more local groups, such as Power Users or Administrators,&amp;nbsp;on their computer.&amp;nbsp; While you can do this fairly easily on a case by case basis, it&amp;#39;s a lot more difficult to do in a large distributed environment.&amp;nbsp; This can be accomplished much easier using the &lt;strong&gt;Restricted Groups&lt;/strong&gt; GPO setting in Group Policy.&lt;br /&gt;&lt;br /&gt;The Restricted Group setting allows you to configure membership in groups within Active Directory or in the local security accounts manager (SAM) of domain-joined computers.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;In this example, we will add all domain users to the local computers&amp;#39; Power Users group for all computers in the domain.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Open the Group Policy Management Console&lt;/li&gt;&lt;li&gt;Edit the &lt;strong&gt;Default Domain Policy&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;Navigate to &lt;strong&gt;Computer Configuration&lt;/strong&gt; &amp;gt; &lt;strong&gt;Policies&lt;/strong&gt; &amp;gt; &lt;strong&gt;Windows Settings&lt;/strong&gt; &amp;gt; &lt;strong&gt;Security Settings&lt;/strong&gt; &amp;gt; &lt;strong&gt;Restricted Groups&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;Right-click &lt;strong&gt;Restricted Groups&lt;/strong&gt; and select &lt;strong&gt;Add Group...&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;The trick to adding a local group is to just type in the group name.&amp;nbsp; Do not browse to find the Power Users group, because this will resolve to the domain&amp;#39;s Power Users group.&amp;nbsp; Type &lt;strong&gt;Power Users&lt;/strong&gt;, as shown below, and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;div class="separator" style="clear:both;text-align:center;"&gt;&lt;a href="http://3.bp.blogspot.com/_IsItvsG4t0k/TUroUXPS8uI/AAAAAAAAF5s/rY8qXKcIL_Q/s1600/Power+Users.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;img border="0" height="285" src="http://3.bp.blogspot.com/_IsItvsG4t0k/TUroUXPS8uI/AAAAAAAAF5s/rY8qXKcIL_Q/s400/Power+Users.png" width="400" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear:both;text-align:center;"&gt;&lt;/div&gt;&lt;li&gt;Another window will pop-up to let you configure the properties of the Power Users Restricted Group.&amp;nbsp; For &lt;strong&gt;Members of this group&lt;/strong&gt;, click &lt;strong&gt;Add.&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;Click the &lt;strong&gt;Browse&lt;/strong&gt; button and browse for the group in Active Directory that you want to add to the local Power Users group.&amp;nbsp; In this example, use &lt;strong&gt;Domain Users&lt;/strong&gt; and click &lt;strong&gt;OK&lt;/strong&gt;, as shown below.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;div class="separator" style="clear:both;text-align:center;"&gt;&lt;a href="http://1.bp.blogspot.com/_IsItvsG4t0k/TUrtMRlH-zI/AAAAAAAAF5w/QUbXHLE0evU/s1600/Add+Members.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/_IsItvsG4t0k/TUrtMRlH-zI/AAAAAAAAF5w/QUbXHLE0evU/s400/Add+Members.png" width="325" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear:both;text-align:center;"&gt;&lt;/div&gt;&lt;li&gt;Close the GPO Editor and the Group Policy Management Console&lt;/li&gt;&lt;/ul&gt;Wait a sufficient amount of time to allow the GPO to replicate throughout all the domain controllers in the domain, then restart the computers where the policy applies.&amp;nbsp; This is required because the GPO affects the Computer Policy which applies when the computer starts up.&lt;br /&gt;&lt;br /&gt;When the policy is processed, the computer will attempt to resolve the &lt;strong&gt;Power Users&lt;/strong&gt; name that you typed to a local group first, then a domain group if no local match is found.&lt;br /&gt;&lt;br /&gt;You can do the same process above for any other OU to scope the GPO to a specific set of computers.&amp;nbsp; If you want to add users to the local &lt;strong&gt;Administrators&lt;/strong&gt; group, simply type that name instead of &lt;strong&gt;Power Users&lt;/strong&gt;.&lt;div class="blogger-post-footer"&gt;Did you find this information useful? Post a comment and share it with others!&lt;img width="1" height="1" src="https://blogger.googleusercontent.com/tracker/798194812750898417-8101895864019835981?l=www.expta.com" alt="" /&gt;&lt;/div&gt;</description></item><item><title>How to fix MSExchangeTransport Event ID 12014 on Edge and Hub Transport servers</title><link>http://msmvps.com/blogs/expta/archive/2010/09/29/how-to-fix-msexchangetransport-event-id-12014-on-edge-and-hub-transport-servers.aspx</link><pubDate>Wed, 29 Sep 2010 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1779022</guid><dc:creator>Anonymous</dc:creator><description>&lt;div style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;By default, Exchange 2007 and 2010 attempt to use Transport Layer Security (TLS) for all SMTP traffic.&amp;nbsp; TLS uses a certificate on the receiving server to encrypt SMTP traffic between SMTP servers, similar to the way a certificate on the CAS server is used to secure OWA traffic.&amp;nbsp; If TLS cannot be negotiated, SMTP will usually fallback to non-encrypted SMTP.&lt;/div&gt;&lt;div style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;In order for a server to send SMTP email via TLS:&lt;/div&gt;&lt;ol&gt;&lt;li style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;The receiving server must have an Exchange certificate in the computer&amp;#39;s local&amp;nbsp;Personal store.&lt;/li&gt;&lt;li style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;The SMTP service must be assigned to use this certificate.&lt;/li&gt;&lt;li style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;The FQDN used in the Receive Connector must match either the Common Name or one of the Subject Alternative Names (if they exist) on the SMTP certificate.&lt;/li&gt;&lt;/ol&gt;&lt;div style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;If any one of these requirements is not met, you will see the following error in the application log of the Edge Transport server:&lt;/div&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;, Courier, monospace;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;, Courier, monospace;"&gt;&lt;strong&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application&lt;br /&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSExchangeTransport&lt;br /&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9/28/2010 9:35:58 AM&lt;br /&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12014&lt;br /&gt;Task Category: TransportService&lt;br /&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;br /&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;br /&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;br /&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mailgate&lt;br /&gt;Description:&lt;br /&gt;Microsoft Exchange could not find a certificate that contains the domain name mail1.expta.com in the personal store on the local computer. Therefore, it is unable to support the STARTTLS SMTP verb for the connector Default internal receive connector MAILGATE with a FQDN parameter of mail.expta.com. If the connector&amp;#39;s FQDN is not specified, the computer&amp;#39;s FQDN is used. Verify the connector configuration and the installed certificates to make sure that there is a certificate with a domain name for that FQDN. If this certificate exists, run Enable-ExchangeCertificate -Services SMTP to make sure that the Microsoft Exchange Transport service has access to the certificate key.&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;&lt;/div&gt;&lt;span style="font-family:inherit;"&gt;When you see this error on Edge Transport servers you have to examine the error description to determine where the mismatch occurs.&amp;nbsp; In the example above, the connector in error is the &amp;quot;&lt;strong&gt;Default internal receive connector MAILGATE&lt;/strong&gt;&amp;quot;, which is the receive connector that exists on the Edge server itself.&amp;nbsp; If the connector in error is on the &amp;quot;&lt;strong&gt;EdgeSync - Inbound to &lt;em&gt;domain&lt;/em&gt;&lt;/strong&gt;&amp;quot; connector, the mismatch is on the Hub Transport server&amp;#39;s receive connector.&lt;/span&gt;&lt;br /&gt;&lt;div style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;&lt;span style="font-family:inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;&lt;span style="font-family:inherit;"&gt;You can fix this by reconfiguring the offending connector to use the Common Name or Subject Alternative Name used on the Exchange certificate.&amp;nbsp; You can find this value by viewing the certificate from the Certificates MMC, as shown below:&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;div class="separator" style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;clear:both;text-align:center;"&gt;&lt;a href="http://4.bp.blogspot.com/_IsItvsG4t0k/TKJfcMZn7WI/AAAAAAAAF2A/JpgrWRNPCvw/s1600/Exchange+Certificate.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;span style="font-family:inherit;"&gt;&lt;img border="0" height="400" src="http://4.bp.blogspot.com/_IsItvsG4t0k/TKJfcMZn7WI/AAAAAAAAF2A/JpgrWRNPCvw/s400/Exchange+Certificate.png" width="321" alt="" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span style="font-family:inherit;"&gt;To reconfigure the Edge Server&amp;#39;s Receive Connector:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:inherit;"&gt;On the Edge server, open the Exchange Management Console.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:inherit;"&gt;Navigate to &lt;strong&gt;Microsoft Exchange&lt;/strong&gt; &amp;gt; &lt;strong&gt;Edge&lt;/strong&gt;&lt;strong&gt;Transport&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:inherit;"&gt;Click the &lt;strong&gt;Receive Connectors&lt;/strong&gt; tab to view the existing connectors.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:inherit;"&gt;Double-click the &lt;strong&gt;Default internal receive connector&amp;nbsp;&lt;em&gt;SERVER&lt;/em&gt;&lt;/strong&gt;&lt;em&gt; &lt;/em&gt;connector to view its properties.&lt;/span&gt;&lt;/li&gt;&lt;li style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;&lt;span style="font-family:inherit;"&gt;In the &lt;strong&gt;Specify the FQDN this connector will provide in response to HELO or EHLO&lt;/strong&gt; field, enter the certificate&amp;#39;s Common Name (for example, &lt;strong&gt;&lt;em&gt;ex1.expta.com&lt;/em&gt;&lt;/strong&gt;) as shown below, and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="separator" style="clear:both;text-align:center;"&gt;&lt;a href="http://1.bp.blogspot.com/_IsItvsG4t0k/TKEN3NujZXI/AAAAAAAAF18/-jWLBDYqZ2M/s1600/Edge+Receive+Connector.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;span style="font-family:inherit;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/_IsItvsG4t0k/TKEN3NujZXI/AAAAAAAAF18/-jWLBDYqZ2M/s400/Edge+Receive+Connector.png" width="356" alt="" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-family:inherit;"&gt;To reconfigure the&amp;nbsp;Hub Transport&amp;#39;s Receive Connector:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;&lt;span style="font-family:inherit;"&gt;On the CAS, open the Exchange Management Console.&lt;/span&gt;&lt;/li&gt;&lt;li style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;&lt;span style="font-family:inherit;"&gt;Navigate to &lt;strong&gt;Microsoft Exchange&lt;/strong&gt; &amp;gt; &lt;strong&gt;Microsoft Exchange On-Premises&lt;/strong&gt; &amp;gt; &lt;strong&gt;Organization&lt;/strong&gt; &lt;strong&gt;Configuration&lt;/strong&gt; &amp;gt; &lt;strong&gt;Hub Transport&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;&lt;span style="font-family:inherit;"&gt;Click the &lt;strong&gt;Send Connectors&lt;/strong&gt; tab to view the existing Send Connectors.&lt;/span&gt;&lt;/li&gt;&lt;li style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;&lt;span style="font-family:inherit;"&gt;Double-click the &lt;strong&gt;EdgeSync - Inbound to &lt;em&gt;domain&lt;/em&gt;&lt;/strong&gt;&lt;em&gt; &lt;/em&gt;connector to view its properties.&lt;/span&gt;&lt;/li&gt;&lt;li style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;&lt;span style="font-family:inherit;"&gt;In the &lt;strong&gt;Specify the FQDN this connector will provide in response to HELO or EHLO&lt;/strong&gt; field enter the certificate&amp;#39;s Common Name (for example, &lt;strong&gt;&lt;em&gt;ex1.expta.com&lt;/em&gt;&lt;/strong&gt;) as shown above, and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="border-bottom:medium none;border-left:medium none;border-right:medium none;border-top:medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;Did you find this information useful? Post a comment and share it with others!&lt;img width="1" height="1" src="https://blogger.googleusercontent.com/tracker/798194812750898417-6093509039032300632?l=www.expta.com" alt="" /&gt;&lt;/div&gt;</description></item><item><title>How to Create Certificates with a Longer Validity Period</title><link>http://msmvps.com/blogs/expta/archive/2010/08/27/how-to-create-certificates-with-a-longer-validity-period.aspx</link><pubDate>Fri, 27 Aug 2010 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1776746</guid><dc:creator>Anonymous</dc:creator><description>So, you have your own Windows Certificate of Authority (CA) server and you want to create some new certificates that are valid longer than the default certificate templates.&amp;nbsp; You duplicate the User Certificate, and set the validity period to 5 years.&amp;nbsp; You issue a new user certificate using the new template and discover that the certificate expires two years from today.&amp;nbsp; What&amp;#39;s up with that?&lt;br /&gt;&lt;br /&gt;The validity period of any certificate generated by a Windows&amp;nbsp;CA is the lesser of these three values:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The remaining lifetime of the root CA server&amp;nbsp;&lt;/li&gt;&lt;li&gt;The value specified in the certificate template&lt;/li&gt;&lt;li&gt;The value specified in the CA server registry (default is 2 years)&lt;/li&gt;&lt;/ul&gt;So even if you set the certificate template validity period to 10 years, certificates issued using this template will be valid for a maximum of two years with the CA&amp;#39;s default settings.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#0b5394;font-size:large;"&gt;Increasing the CA Lifetime&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Most root CAs are typically valid for 5 years. To increase the lifetime of the root CA, create or edit a text file in %SYSTEMROOT% called CAPolicy.inf with the following text:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;, Courier, monospace;"&gt;&lt;strong&gt;[Version]&lt;br /&gt;Signature=”$Windows NT$”&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;, Courier, monospace;"&gt;&lt;strong&gt;[certsrv_server]&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;, Courier, monospace;"&gt;&lt;strong&gt;RenewalValidityPeriod=Years&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;, Courier, monospace;"&gt;&lt;strong&gt;RenewalValidityPeriodUnits=10&lt;/strong&gt;&lt;/span&gt;&lt;/blockquote&gt;Adjust the values above as needed,&amp;nbsp;save the file, and restart the &lt;strong&gt;CertSrv&lt;/strong&gt; service. Then renew the CA Certificate using the same public and private key pair.&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color:#fce5cd;"&gt;&lt;strong&gt;Warning&lt;/strong&gt;: If you generate a new public and private key pair you will need to reissue all your old certificates, so don&amp;#39;t do it unless that is your intent.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#0b5394;font-size:large;"&gt;&lt;strong&gt;Setting the Maximum Validity Period in the Registry&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;The default certificate&amp;nbsp;validity period configured in the CA&amp;#39;s registry is 2 years. To view the current registry value, run the following commands from a CMD prompt on the CA:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;, Courier, monospace;"&gt;&lt;strong&gt;certutil -getreg ca\ValidityPeriod&lt;br /&gt;certutil -getreg ca\ValidityPeriodUnits&lt;/strong&gt;&lt;/span&gt;&lt;/blockquote&gt;To configure the registry value to 5 years, run the following command from a CMD prompt on the CA:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;, Courier, monospace;"&gt;&lt;strong&gt;certutil -setreg ca\ValidityPeriodUnits 5&lt;/strong&gt;&lt;/span&gt;&lt;/blockquote&gt;Adjust the value above, as needed. Then restart the &lt;strong&gt;CertSvc&lt;/strong&gt; service to affect the changes.&lt;div class="blogger-post-footer"&gt;Did you find this information useful? Post a comment and share it with others!&lt;img width="1" height="1" src="https://blogger.googleusercontent.com/tracker/798194812750898417-3600340187179709477?l=www.expta.com" alt="" /&gt;&lt;/div&gt;</description></item></channel></rss>