[Windows] Windows 7 上安裝 .NET Framework 4.8 失敗,因為憑證不被信任?

[Windows] Windows 7 上安裝 .NET Framework 4.8 失敗,因為憑證不被信任?

今天想在 Windows 7 上安裝 .NET Framework 4.8

不過安裝程式一執行,很快就跳出了如下的視窗,

寫 Installation Did Not Succeed (安裝不成功),

原因也有寫出來,是 A certificate chain processed, but terminated

in a root certificate which is not trusted by the trust provider.

 

對著安裝程式按右鍵 > Property 內容> Digital Signature 數位簽章,

切到 Certification Path,可以查看憑證信任鍊,

發現這張憑證本身是被信任的,

但最上方的 Microsoft Root Certificate Authority 2011 不被信任

 

對 Microsoft Root Certificate Authority 2011 點下 View Certificate,

然後按 Install Certificate 安裝這個 CA 憑證:

 

這邊要選擇把簽章加到 Trusted Root Certification Authorities,

也就是信任的根憑證儲存區:

 

憑證加好後,重新執行 .NET Framework 4.8 安裝程式,

這時就可以順利安裝了:

(本頁面已被瀏覽過 8,401 次)

3 thoughts on “[Windows] Windows 7 上安裝 .NET Framework 4.8 失敗,因為憑證不被信任?

  1. 這篇點出了一般文章不會提到如何看軟體數位簽章的部分。
    謝謝你,這篇對我幫助很大。

  2. OS Version = 6.1.7601, SP = 1.0, Platform 2, Service Pack 1
    OS Description = Win7 – x64 Home Premium Edition Service Pack 1
    MSI = 5.0.7601.17514
    Windows version = amd64_windowsfoundation_31bf3856ad364e35_6.1.7601.17514_none_615fdfe2a739474c.manifest
    Windows servicing = 6.1.7601.17514
    CommandLine = D:\c5b502c0f06f7ab32c7f85a238b5\\Setup.exe /x86 /x64 /redist
    Using Simultaneous Download and Install mechanism
    Operation: Installing
    Package Name = Microsoft .NET Framework 4.8 Setup
    Package Version = 4.8.04115
    User Experience Data Collection Policy: AlwaysUploaded
    Number of applicable items: 10
    D:\c5b502c0f06f7ab32c7f85a238b5\netfx_Full_x64.msi – Signature verification for file netfx_Full_x64.msi (D:\c5b502c0f06f7ab32c7f85a238b5\netfx_Full_x64.msi) failed with error 0x80096005 (時間戳記簽章及/或憑證無法驗證或格式不正確。)
    No FileHash provided. Cannot perform FileHash verification for netfx_Full_x64.msi
    File netfx_Full_x64.msi (D:\c5b502c0f06f7ab32c7f85a238b5\netfx_Full_x64.msi), failed authentication. (Error = -2146869243). It is recommended that you delete this file and retry setup again.
    Exe (D:\c5b502c0f06f7ab32c7f85a238b5\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    ServiceControl operation succeeded!
    ServiceControl operation succeeded!
    Exe (D:\c5b502c0f06f7ab32c7f85a238b5\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    Final Result: Installation failed with error code: (0x80096005), “時間戳記簽章及/或憑證無法驗證或格式不正確。 ” (Elapsed time: 0 00:00:20).

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料