Google Code Prettify - 輕量級的語法上色工具

星期二, 3月 08, 2022

Exchange 支援 TLS 1.0, 1.1, 1.2 方式

步驟一:Exchange  Server 啟用SCHANNEL TLS 1.0, 1.1, 1.2

Windows Registry Editor Version 5.00  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols]  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\Multi-Protocol Unified Hello]  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\Multi-Protocol Unified Hello\Client]  

"Enabled"=dword:00000000  

"DisabledByDefault"=dword:00000001  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\Multi-Protocol Unified Hello\Server]  

"Enabled"=dword:00000000  

"DisabledByDefault"=dword:00000001  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\PCT 1.0]  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\PCT 1.0\Client]  

"Enabled"=dword:00000000  

"DisabledByDefault"=dword:00000001  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\PCT 1.0\Server]  

"Enabled"=dword:00000000  

"DisabledByDefault"=dword:00000001  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0]  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Client]  

"DisabledByDefault"=dword:00000001  

"Enabled"=dword:00000000  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server]  

"Enabled"=dword:00000000  

"DisabledByDefault"=dword:00000001  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0]  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Client]  

"Enabled"=dword:00000000  

"DisabledByDefault"=dword:00000001  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Server]  

"Enabled"=dword:00000000  

"DisabledByDefault"=dword:00000001  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0]  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Client]  

"Enabled"=dword:00000001  

"DisabledByDefault"=dword:00000000  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server]  

"Enabled"=dword:00000001  

"DisabledByDefault"=dword:00000000  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1]  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]  

"DisabledByDefault"=dword:00000000  

"Enabled"=dword:00000001  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server]  

"DisabledByDefault"=dword:00000000  

"Enabled"=dword:00000001  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2]  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]  

"DisabledByDefault"=dword:00000000  

"Enabled"=dword:00000001  

  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]  

"Enabled"=dword:00000001  

"DisabledByDefault"=dword:00000000



 步驟二:Exchange  Server 啟用 NET Framework 以支援 TLS 1.2

Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727]

      "SystemDefaultTlsVersions" = dword:00000001

      "SchUseStrongCrypto" = dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]

      "SystemDefaultTlsVersions" = dword:00000001

      "SchUseStrongCrypto" = dword:00000001


[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v2.0.50727]

      "SystemDefaultTlsVersions" = dword:00000001

      "SchUseStrongCrypto" = dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319]

      "SystemDefaultTlsVersions" = dword:00000001

      "SchUseStrongCrypto" = dword:00000001




步驟三:Exchange  Server & USER Outlook 啟用 DefaultSecureProtocols 支援 1.0 1.1 1.2

Windows Registry Editor Version 5.00 


 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp] 


"DefaultSecureProtocols"=dword:00000a80 


 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp] 


"DefaultSecureProtocols"=dword:00000a80


步驟四: Exchange  Server & USER Outlook 啟用 RPC

如說明二


=================================================

說明一

以 TLS 1.1 (0x00000200) 的值和 TLS 1.2 (0x00000800) 的值,然後在程式設計工具模式) 中的計算機 (中將它們相加,而產生的註冊表值會為 0x00000A00。

TLS 1.0+1.1+1.2 = A80

https://support.microsoft.com/zh-tw/topic/%E6%9B%B4%E6%96%B0%E4%BB%A5%E5%9C%A8-windows-%E7%89%88-winhttp-%E4%B8%AD%E5%95%9F%E7%94%A8-tls-1-1-%E5%92%8C-tls-1-2-%E5%81%9A%E7%82%BA%E9%A0%90%E8%A8%AD%E5%AE%89%E5%85%A8%E9%80%9A%E8%A8%8A%E5%8D%94%E5%AE%9A-c4bd73d2-31d7-761e-0178-11268bb10392


說明二

Outlook RPC 加密需求所造成 Exchange 信箱的連線問題

https://docs.microsoft.com/zh-tw/exchange/troubleshoot/client-connectivity/outlook-connection-issue-caused-by-rpc-encryption-requirement


說明三

VirtualBox測試環境要使用 "NAT Network" 兩個VM才能互通、又能連外

https://www.nakivo.com/blog/virtualbox-network-setting-guide/


======================================================

https://support.microsoft.com/en-us/topic/how-to-add-modify-or-delete-registry-subkeys-and-values-by-using-a-reg-file-9c7f37cf-a5e9-e1cd-c4fa-2a26218a1a23


Blank line is a blank line. This identifies the start of a new registry path. 

Each key or subkey is a new registry path. If you have several keys in your .reg file, blank lines can help you to examine and to troubleshoot the contents.

======================================================