Keep in mind that there's another reason that error can show up — both native librarires and assemblies can be corrupted, or your OS might be missing a root certificate (can happen on freshly installed Windows 10) and thus unable to verify the chain if the assembly is digitally signed.