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

顯示具有 Exchange 標籤的文章。 顯示所有文章
顯示具有 Exchange 標籤的文章。 顯示所有文章

星期二, 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.

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


安裝windows 2008R2 + Exchange2010 SP1注意事項

1.安裝AD Server

1.1前言

先將windows 2008 R2 更新到最新

安裝AD功能建議同時,安裝 AD角色, CA角色, DNS功能, IIS功能 (6.0相容)

https://ithelp.ithome.com.tw/articles/10189852

管理員可以用任一台DC,維護同一個會相互抄寫到不同DC台上的AD資料庫


記得hoatnameIP先定好,不可改變(例如):

dc.domain.com 192.168.250.1

ex.domain.com 192.168.250.2


1.2 安裝AD網域服務角色

安裝 Win2k8r2 & AD+DC+DNS角色

http://itworkertony.blogspot.com/2016/08/vmlab12-windows-2008r2-addcdns.html


2 安裝CA

2.1前言

KEY金鎖、CSR要求檔、CRT憑證

https://haway.30cm.gg/ssl-key-csr-crt-pem/

私有金鑰 – Pirvate Key

簽署要求 – Certificate Signing Request(CSR)

憑證 – CRT

中繼憑證 – PEM or CRT


2.2 安裝CA憑證服務角色

https://my-fish-it.blogspot.com/2012/01/ss-windows-server-2008-r2-active.html


2.3 安裝Framework 4.5.2 & 安裝OS Update



3. 安裝Exchange2010

3.1前言

先將windows 2008 R2 更新到最新.然後安裝下列所需套件

NET Framework 3.5.1 (windows 2008 R2 內建)

Windows PowerShell 2.0 (windows 2008 R2 內建)

語言套件 LanguagePackBundle

Microsoft Filter Pack (去網路下載)

Ldifde.exe  (下指令) "ServerManagerCmd –i RSAT-ADDS"

Net.Tcp 連接埠共用服務設為[自動] (用戶端存取角色需要)

擴充 AD Schema (下指令) 切換到exchange 光碟目錄下執行 "setup /PrepareSchema"

IIS 相關角色服務 (6.0相容)


3.2 安裝Exchange 2010

https://blog.pmail.idv.tw/?p=1758

Exchange 2010 安裝 (一)


3.3 安裝Framework 4.5.2 & 安裝OS Update


3.4 新增Exchange 憑證

https://blog.pmail.idv.tw/?p=1758

Exchange 2010 用戶憑證申請

3.4.1 新增Exchange憑證 => 產生 憑證申請檔  xxx-CA.req

3.4.2 輸入http://X.X.X.X/certsrv (這是CA主機web申請網頁)

3.4.3 CA主機要、啟用擱置的憑證

3.4.4 更新憑證後 要記得指派服務給憑證 OWA才能正常

3.4.5 關閉防火牆 Outlook 才能取得憑證