{"id":6594,"date":"2023-01-29T10:08:58","date_gmt":"2023-01-29T10:08:58","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=6594"},"modified":"2023-07-18T13:01:28","modified_gmt":"2023-07-18T13:01:28","slug":"tls-1-0-and-1-1-disable-gotchas","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/tls-1-0-and-1-1-disable-gotchas","title":{"rendered":"TLS 1.0 and 1.1 Disable Gotchas"},"content":{"rendered":"\n<ol class=\"wp-block-list\">\n<li>RDS Connection Broker Server 2016 and Below ( WIDS ) Windows Internal Database does not support TLS1.2<\/li>\n<\/ol>\n\n\n\n<p>https:\/\/learn.microsoft.com\/en-us\/troubleshoot\/windows-server\/remote\/rds-connection-broker-or-rdms-fails-caused-by-disabled-tls-10<\/p>\n\n\n\n<p>2. Upgrade NPS Radius to Use it <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-stuff-i-039-m-up-to wp-block-embed-stuff-i-039-m-up-to\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/warlord0blog.wordpress.com\/2017\/02\/09\/tls-and-nps\/\n<\/div><\/figure>\n\n\n\n<p>and <strong>EAP\\<\/strong>26<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Upgrade Servers and Clients to use TLS1.2<\/p>\n\n\n\n<p>Disable Servers and Clients from TLS1.0\\1.1<\/p>\n\n\n\n<p>Min SQL Native Client Version to 11.0.7001.0 for TLS1.2<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>3) AADconnect Still in 2023 uses TLS1.0!!<\/p>\n\n\n\n<p>[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\.NETFramework\\v2.0.50727] &#8220;SystemDefaultTlsVersions&#8221; = dword:00000001 &#8220;SchUseStrongCrypto&#8221; = dword:00000001 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\.NETFramework\\v4.0.30319] &#8220;SystemDefaultTlsVersions&#8221; = dword:00000001 &#8220;SchUseStrongCrypto&#8221; = dword:00000001<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Exception Data (Raw): System.InvalidOperationException: Failed to Disable staging mode. &#8212;&gt; System.Management.Automation.CmdletInvocationException: Exception details =&gt;<br>Type =&gt; System.InvalidOperationException<br>An error occurred, ..\\server.cpp(10880), code 80004005,<\/p>\n\n\n\n<p>StackTrace =&gt;<br>at SyncEngineHandle.SetSSPRAndPHSStateForStagingMode(Boolean stagingModeEnabled)<br>at SyncInvokeSetSSPRAndPHSStateForStagingMode(Object , Object[] , Object[] )<br>at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp; outputs)<br>at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc)<br>at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc)<br>at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc&amp; rpc)<br>at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)<br>&#8212;&gt; System.ServiceModel.FaultException: Exception details =&gt;<br>Type =&gt; System.InvalidOperationException<br>An error occurred, ..\\server.cpp(10880), code 80004005,<\/p>\n\n\n\n<p>StackTrace =&gt;<br>at SyncEngineHandle.SetSSPRAndPHSStateForStagingMode(Boolean stagingModeEnabled)<br>at SyncInvokeSetSSPRAndPHSStateForStagingMode(Object , Object[] , Object[] )<br>at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp; outputs)<br>at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc)<br>at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc)<br>at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc&amp; rpc)<br>at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)<\/p>\n\n\n\n<p>Server stack trace:<br>at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)<br>at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)<br>at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)<br>at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)<\/p>\n\n\n\n<p>Exception rethrown at [0]:<br>at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)<br>at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)<br>at Microsoft.Azure.ActiveDirectory.ADSyncManagement.Contract.IADSyncManagementService.SetSSPRAndPHSStateForStagingMode(Boolean stagingModeEnabled)<br>at Microsoft.IdentityManagement.PowerShell.Cmdlet.SetADSyncGlobalSettingsCmdlet.ProcessRecord()<br>&#8212; End of inner exception stack trace &#8212;<br>at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)<br>at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)<br>at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)<br>at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection<code>1 input, PSDataCollection<\/code>1 output, PSInvocationSettings settings)<br>at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection<code>1 input, PSDataCollection<\/code>1 output, PSInvocationSettings settings)<br>at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings)<br>at Microsoft.Online.Deployment.PowerShell.LocalPowerShell.Invoke()<br>at Microsoft.Online.Deployment.PowerShell.PowerShellAdapter.TypeDependencies.InvokePowerShell(IPowerShell powerShell)<br>at Microsoft.Online.Deployment.PowerShell.PowerShellAdapter.InvokePowerShellCommand(String commandName, InitialSessionState initialSessionState, IDictionary<code>2 commandParameters, Boolean isScript) at Microsoft.Azure.ActiveDirectory.Synchronization.PowerShellConfigAdapter.GlobalSettingsConfigAdapter.SetGlobalSettings(GlobalSettings globalSettings) at Microsoft.Azure.ActiveDirectory.Synchronization.PowerShellConfigAdapter.GlobalSettingsConfigAdapter.SetGlobalConfigurationParameters(Hashtable globalParameters) at Microsoft.Online.Deployment.Types.Providers.SyncDataProvider.SetStagingMode(Boolean value) at Microsoft.Online.Deployment.Types.Configuration.StagingModeConfigurationItem.Execute[TContext](IAdSyncConfigExecutionContext<\/code>1 executionContext, IAadSyncConfigurationResults&amp; results)<br>&#8212; End of inner exception stack trace &#8212;<br>at Microsoft.Online.Deployment.Types.Configuration.StagingModeConfigurationItem.Execute[TContext](IAdSyncConfigExecutionContext<code>1 executionContext, IAadSyncConfigurationResults&amp; results) at Microsoft.Online.Deployment.PSModule.Tasks.AADSync.ConfigureAADSyncTask<\/code>1.ConfigureSyncEngine(TContext context)<br>at Microsoft.Online.Deployment.PSModule.Tasks.AADSync.ConfigureAADSyncTask`1.Execute()<br>at Microsoft.Online.Deployment.Framework.Workflow.WorkflowTask.ExecuteWrapper()<br>[22:20:13.421] [ 27] [INFO ] MicrosoftOnlinePersistedStateProvider.Save: saving the persisted state file<br>[22:20:13.421] [ 27] [INFO ] MicrosoftOnlinePersistedStateProvider.UpdateFileProtection: updating file protection from the persisted state file: C:\\ProgramData\\AADConnect\\PersistedState.xml, isAddProtection: False<br>[22:20:13.422] [ 27] [INFO ] MicrosoftOnlinePersistedStateProvider.UpdateFileProtection: updating file protection from the persisted state file: C:\\ProgramData\\AADConnect\\PersistedState.xml, isAddProtection: True<br>[22:20:13.424] [ 27] [INFO ] PerformConfigurationPageViewModel.PerformWorkflowInstallationAndUpdateState: result of installation operations &#8211; Failed<br>[22:20:13.424] [ 27] [ERROR] ExecuteADSyncConfiguration: configuration failed. Skipping export of synchronization policy. resultStatus=Failed<br>[22:20:13.459] [ 27] [ERROR] PerformConfigurationPageViewModel: We encountered a problem and couldn\u2019t complete the integration.<br>[22:20:13.459] [ 27] [ERROR] PerformConfigurationPageViewModel: An error occurred executing Configure AAD Sync task: Failed to Disable staging mode.<br>[22:22:58.911] [ 1] [INFO ] Opened log file at path C:\\ProgramData\\AADConnect\\trace-20230718-221208.log<\/p>\n\n\n\n<p><a href=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2023\/01\/image-14.png\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/learn.microsoft.com\/en-us\/troubleshoot\/windows-server\/remote\/rds-connection-broker-or-rdms-fails-caused-by-disabled-tls-10 2. Upgrade NPS Radius to Use it and EAP\\26 Upgrade Servers and Clients to use TLS1.2 Disable Servers and Clients from TLS1.0\\1.1 Min SQL Native Client [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6594","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=6594"}],"version-history":[{"count":3,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6594\/revisions"}],"predecessor-version":[{"id":7187,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6594\/revisions\/7187"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=6594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=6594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=6594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}