跳到主要內容

發表文章

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]。 設定憑證發佈的信任及屬性 選擇要啟用的憑證範本

IRF 4 member by HPE 1950

IRF 4 member by HPE 1950 on 2018/05/17 IRF 配置 目標:將四台 HPE 1950 12XGT 以 IRF 採 Ring Topology 堆疊 建議準備工作: 將系統版本升級到同一個版本 display version 清除所有設定 reset saved-configuration 決定 domain id、priority(master/standby)、member id 步驟: assign IRF Domain ID assign IRF Member ID assign priority number (0~32; large is high priority) review irf configuration shutdown IRF member interface assign interface to logical IRF port plug the LAN Cable undo shutdown IRF member interface save configuration and reboot activate the pending IRF configuration Device 1 Device 2 Device 3 Device4 <Device-1>system view [Device-1] irf doamin 1031254 [Device-1] irf member 1 renumber 1 [Device-1] irf member 1 priority 32 [Device-1] display irf [Device-1] save [Device-1] reboot <Device-2>system view [Device-2] irf doamin 1031254 [Device-2] irf member 1 renumber 2 [Device-2] display irf [Device-2] save [Device-2] reb...