跳到主要內容

發表文章

目前顯示的是有「Windows 2012 R2」標籤的文章

Windows 2012 R2 Remote Desktop Services Session Shadowing

Ref:  http://woshub.com/rdp-session-shadow-to-windows-10-user/ Ref:  http://microsoftplatform.blogspot.com/2013/06/what-new-in-windows-server-2012-r2.html Ref:  http://woshub.com/rds-shadow-how-to-connect-to-a-user-session-in-windows-server-2012-r2/ 👀 2022/03/04 補充說明,此方式一樣適用於非 Server 環境,如 Win10 (專業版以上才有支援 RDP)  Windows 2012 R2 以後的版本,管理者可以 檢視/操作 RDS 中的 Session。 用 GPO 來決定,管理者 檢視/操作 時,需不需要 session 使用者的同意: 電腦原則 → 原則 → 系統管理範本 → Windows 元件 → 遠端桌面服務 → 連線 → 為遠端桌面服務使用者階段的遠端控制設定原則(Computer Configuration -> Policies -> Administrative Templates -> Windows components -> Remote Desktop Services -> Remote Session Host -> Connections and called Set rules for remote control of Remote Desktop Services user sessions) 如果您啟用這個原則設定,系統管理員可以根據選取的選項,與使用者的遠端桌面服務工作階段互動。從選項清單選取所需的控制等級與權限: 不允許遠端控制: 不允許系統管理員使用遠端控制或檢視遠端使用者工作階段。 使用者授與 [完全控制] 權限: 允許系統管理員在使用者的同意下與工作階段互動。 不需使用者授與即可完全控制: 允許系統管理員不需使用者的同意即可與工作階段互動。 使用者授與 [檢視工作階段] 權限: 允許系統管理員在使用...

How to sign a CA certificate on Windows server 2012 R2 and import certificate for SSL inspection to a FortiGate.

#Fortigate 200E、Windows 2012 R2、FortiOS 5.6.11 !! Chrome 58 以後,憑證如果沒有 SAN( subjectAlternativeName)屬性,一樣會被判定不安全的連線, 參考說明 。 本文在說明如何在  Windows 2012 R2 CA 下,申請 SubCA ubCA 以使 Fortigate  SSL inspection 運作時,不會出現憑證錯誤和不安全的連線訊息。 # 如何延長 Windows CA 所發憑證預設的有效期,請參考 這裡。 登入到 Fortigate GUI >> System >> Certificates >> Generate 填入憑證所需相關資料,請務必確認【Subject Alternative Name】欄位有正確填寫。 【Subject Alternative Name】欄位格式,並以逗號分隔多項: #超過 60 character ,必須使用 CLI ,請參考: Generate CSR via CLI when Subject Alternative Name field is long (FortiOS 5.0) Email: email:admin@ companyname .com IP Address: IP:1.1.1.1 URL: URI:https:// companyname .com DNS Name: DNS:www. companyname .com 下載所建立的憑證申請檔 到 Windows CA 網頁,申請憑證: 選擇【進階憑證要求】 填入剛剛的申請檔內容,並選擇憑證範本【附屬憑證授權單位/SubCA】 下載所申請到的憑證 在 Fortigate 中匯入憑證 (System >> Certificates >> Import >> Local Certificate) 可以看到剛剛的申請已有相關憑證資訊 另外要記得將上層 CA Server 的憑證匯入  (System >> Certificates >> Import >> CA Certific...

延長 Windows CA 所發放的憑證的有效年限

# 2019/09/17 # Windows 2012 R2 Ref`:  如何延長Windows CA 所發放的憑證的有效年限 、 How to change the expiration date of certificates that are issued by a Windows Server 2003 or a Windows 2000 Server Certificate Authority 修改 Windows CA Server 主機上的註冊機碼,延長預設有效期限,位置如下: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CertSvc\Configuration\<CAName> 有效期限單位改為【Years】 (年) 、數值改為【10】 (年) [ValidityPeriod] → Years (Days/Weeks/Months/Years) [ValidityPeriodUnits ] → 10 重啟 Certsrv 服務 , 並確認 CA Server 本身憑證有效日期超過欲發的憑證期限 在『憑證授權單位』管理介面,開啟【憑證範本】管理介面: 建立新的憑證範本 (複製自【附屬憑證授權單位】) 記得修改有效期間 !! 相容性設定,代表【certificate template schema version】, !! 版本3以上無法用網頁方式申請憑證,須改用【certreq.exe]。 設定憑證發佈的信任及屬性 選擇要啟用的憑證範本