Windows 10: Install Error: Failed to find expected public key in certificate chain

Discus and support Install Error: Failed to find expected public key in certificate chain in Windows 10 Software and Apps to solve the problem; I'm attempting to install MS SQL Server Management Studio (SSMS). The tool is a GUI for designing, defining, building and maintaining MS SQL databases.... Discussion in 'Windows 10 Software and Apps' started by ritjesman, Dec 22, 2020.

  1. ritjesman Win User

    Install Error: Failed to find expected public key in certificate chain


    I'm attempting to install MS SQL Server Management Studio (SSMS). The tool is a GUI for designing, defining, building and maintaining MS SQL databases. It is part of a "suite" comprised of Visual Studio, MS SQL server and SSMS. Whilst the 3 components of the "suite" are designed to work together they are presented as individual products.

    I have successfully installed and connected Visual Studio and SQL Server but the SSMS install is aborting during cert check.

    Product details:
    Visual Studio Community 2019 w/the following modules:

    • ,NET desktop development
    • Universal Windows Platform
    • Game development w/Unity
    • Data storage and processing

    MS SQL Server 2017 developer x64 (i.e., v14.00.100)

    • Installed as stand-alone instance on localhost

    SQL Server Management Studio 18.8 [install aborting with error 0x80070490]

    Everything DL d from MS sites.

    Searching on the error code results in hits for Windows Update problems or a corrupted component in CBS although the actual error description in the install log provides the following detail:

    1. Registering bundle dependency provider: {29fdeb7a-f6e5-40c3-a203-e306837e95a4}, version: 15.0.18369.0
    2. Error 0x80070490: Failed to find expected public key in certificate chain.
    3. Error 0x80070490: Failed to verify expected payload against actual certificate chain.
    4. Error 0x80070490: Failed to verify signature of payload: VCRedistD14x86
    5. [0E34:1818][2020-12-22T06:01:14]e310: Failed to verify payload: VCRedistD14x86 at path: C:\ProgramData\Package Cache\.unverified\VCRedistD14x86, error: 0x80070490. Deleting file.
    6. Error 0x80070490: Failed to cache payload: VCRedistD14x86

    Actions taken thus far:

    • Reset permissions via Windows cmd run as nt authority\system:
    [C:\Windows\SysWOW64\subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE [/grant=administrators=f /grant=system=f]]
    ===> Done: 359360, Modified 271478, Failed 87882, Syntax errors 0
    [C:\Windows\SysWOW64\subinacl.exe /subkeyreg HKEY_CURRENT_USER [/grant=administrators=f /grant=system=f]]
    ===> Done: 1435, Modified 1435, Failed 0, Syntax errors 0
    [C:\Windows\SysWOW64\subinacl.exe /subkeyreg HKEY_CLASSES_ROOT [/grant=administrators=f /grant=system=f]]
    ===> Done: 210454, Modified 129369, Failed 81085, Syntax errors 0
    [C:\Windows\SysWOW64\subinacl.exe /subdirectories %SystemDrive% [/grant=administrators=f /grant=system=f]]
    ===> C:\Windows\System32 : delete Perm. ACE 5 builtin\administrators
    ===> C:\Windows\System32 : delete Perm. ACE 4 builtin\administrators
    ===> C:\Windows\System32 : new ace for builtin\administrators
    ===> C:\Windows\System32 : new ace for builtin\administrators
    ===> C:\Windows\System32 : 4 change(s)
    ===> C:\Windows\System32 : delete Perm. ACE 3 nt authority\system
    ===> C:\Windows\System32 : delete Perm. ACE 2 nt authority\system
    ===> C:\Windows\System32 : new ace for nt authority\system
    ===> C:\Windows\System32 : new ace for nt authority\system
    ===> C:\Windows\System32 : 4 change(s)
    All errors were access denied.

    • Ran DISM.exe /Online /Cleanup-image /checkhealth || repairable problems found
    • Ran DISM.exe /Online /Cleanup-image /restorehealth || Aborted at 62.3% complete with a source file not found error
    • Reran DISM.exe /Online /Cleanup-image /restorehealth /Source:"M:\sources\install.wim" || Aborted at 62.3% complete with a source file not found error
    • Performed an in-place upgrade repair using Win10 ISO DLd from MS
    • Ran the Update Troubleshooter which found a Problem with BITS service : The requested service has already been started. System.Management.Automation.RemoteException More help is available by typing NET HELPMSG 2182. System.Management.Automation.RemoteException

    None of the above listed actions resolved the SSMS 18.8 install abort.

    I found a SSMS version in Microsofts archived versions (Microsoft SQL Server Management Studio 13.0.16106.4) that will install but when I try to create a data model or add/define new tables this error is displayed This backend version is not supported to design database diagrams or tables. (MS Visual Database Tools).

    Tables can be added via Visual Studio but the functionality supporting column/field definition is fairly rudimentary. I was able to finally figure out how to get my primary keys to auto-increment by adding IDENTITY in the code but since my last time actively working with RDBs was 1988 Id much prefer being able to access the full capabilities of SSMS.

    Any constructive advice will be much appreciated.

    :)
     
    ritjesman, Dec 22, 2020
    #1

  2. SCEP Server(sub-CA) issues only once CA certificate instead of certificate chain

    Hi ,

    I configured a CA server in windows server 2008 with rootCA(windows server 2008)-->SubCA1(windows server 2008)--->SubCA2 (windows server 2008)

    and configured NDES in SubCA2 and when I send a SCEP request to subCA2 .

    It issues me a certificate and CA certificate(public key) and CA certificate only has subCA2 certificate but does not present a certificate chain .

    But when I go to issued certificates in SubCA2 it shows the entire certification path till rootCA. Is there a way to send entire certificate chain to SCEP client or is this expected behavior
     
    PremnathSundarababu, Dec 22, 2020
    #2
  3. LEWIS_F Win User
    Certificate error - Windows 10 / Accessing Router

    A follow up. I should have included this in the original question.

    • failed: System.Security.Authentication.AuthenticationException A call to SSPI failed, see inner exception. < The certificate chain was issued by an authority that is not trusted for pipe (CN=*.dropbox.com, O=DO_NOT_TRUST, OU=Created by Fiddler - Web Debugging Proxy - Telerik).
    • 18:11:34:7336 !SecureClientPipeDirect failed: System.Security.Authentication.AuthenticationException A call to SSPI failed, see inner exception. < The certificate chain was issued by an authority that is not trusted for pipe (CN=*.dropbox.com, O=DO_NOT_TRUST,
      OU=Created by http://www.fiddler
    No idea why this is referencing DropBox but maybe that's a Fiddler thing?
     
    LEWIS_F, Dec 22, 2020
    #3
  4. chideock Win User

    Install Error: Failed to find expected public key in certificate chain

    KB4025339 Fails Install 0x80070564

    Thanks
    I am trying Eagle 51's suggestions now. Windows Update troubleshooter found a bunch of errors and fixed all but one.The update is trying to download KB4025339 again. I'll see what happens. At step one troubleshooter finishes with one error unresolved "Potential Windows Update Database Error Detected-Not Fixed". Windows update stalled at 0%.

    At step 2 same troubleshooter error. The KB finished a new download failed to install.
    Did step 3 KB has downloaded but fails to install.

    If Eagle's suggestion doesn't work I'll try EdTittel's suggestion

    Tried bothe Eagle & Ed 's suggestions - do not work. Anyone else?

    I have noticed that the latest update for my nvidia drivers has failed to update. Wondering about that!
     
    chideock, Dec 22, 2020
    #4
Thema:

Install Error: Failed to find expected public key in certificate chain

Loading...
  1. Install Error: Failed to find expected public key in certificate chain - Similar Threads - Install Error Failed

  2. CryptAcquireCertificatePrivateKey fails to retrieve the private key for certificate listed...

    in Windows 10 Gaming
    CryptAcquireCertificatePrivateKey fails to retrieve the private key for certificate listed...: //Open Local Machine store NCRYPT_KEY_HANDLE hKey = 0; PCCERT_CONTEXT pCertContext = NULL; HCERTSTORE hCertStore = NULL; DWORD dwKeySpec; BOOL bCallerFreeProv; hCertStore = CertOpenStoreCERT_STORE_PROV_SYSTEM, 0, NULL, CERT_SYSTEM_STORE_LOCAL_MACHINE, L"My";...
  3. DGI swap chain error.

    in Windows 10 Gaming
    DGI swap chain error.: So I can run AIDA64 stress test for CPU and GPU for over 30 minutes with no problems, but I cant play any games.Cyberpunk crashes after a few minutes, same with Witcher 3 and Doom eternal.Dota 2 doesnt register on the GPU and I can play that for hours on end no problem.So why...
  4. DGI swap chain error.

    in Windows 10 Software and Apps
    DGI swap chain error.: So I can run AIDA64 stress test for CPU and GPU for over 30 minutes with no problems, but I cant play any games.Cyberpunk crashes after a few minutes, same with Witcher 3 and Doom eternal.Dota 2 doesnt register on the GPU and I can play that for hours on end no problem.So why...
  5. install error with certificates

    in Windows 10 Gaming
    install error with certificates: while trying to update a new install win7 32 bit using the refurbished install disc I am constantly getting this message how do I correct this. I can't get windows update to run with out error code 80072EFE...
  6. install error with certificates

    in Windows 10 Software and Apps
    install error with certificates: while trying to update a new install win7 32 bit using the refurbished install disc I am constantly getting this message how do I correct this. I can't get windows update to run with out error code 80072EFE...
  7. A certificate chain processed, but terminated in a root certificate which is not trusted by...

    in Windows 10 Gaming
    A certificate chain processed, but terminated in a root certificate which is not trusted by...: Hi,I have found same Microsoft files but with different hashes have different reputations and there are some problems with signature verfication like below figure event though the signer is Microsoft Corporation. what is the reason for this issue? A certificate chain...
  8. A certificate chain processed, but terminated in a root certificate which is not trusted by...

    in Windows 10 Software and Apps
    A certificate chain processed, but terminated in a root certificate which is not trusted by...: Hi,I have found same Microsoft files but with different hashes have different reputations and there are some problems with signature verfication like below figure event though the signer is Microsoft Corporation. what is the reason for this issue? A certificate chain...
  9. Is this the security certificate I should expect with 2004 ADK link to install?

    in Windows 10 Installation and Upgrade
    Is this the security certificate I should expect with 2004 ADK link to install?: This certificate accompanies my download of adksetup.exe. I would think of this as expired but maybe I misunderstand these things? Should I expect one that is not expired and encompasses the 2004 ADK upload date? Sorry if this is noobish question, trying to become more...
  10. DotNet installer 4.8 Fails with Certificate Issue

    in Windows 10 Installation and Upgrade
    DotNet installer 4.8 Fails with Certificate Issue: I'm trying to install dotnet 4.8. Both the web installer and offline installers fail with a "certificate revoked" issue. The certificate that is signing the update expired May 2, 2020. How do we still force the installer to work, or contact Microsoft to re-publish the...

Users found this page by searching for:

  1. Error 0x80070490: Failed to find expected public key in certificate chain.

    ,
  2. install intel wifi driver Error 0x80070490: Failed to find expected public key in certificate chain.