Skip to content

dart:io on Windows cannot access certificates in the machine store #45909

@dnfield

Description

@dnfield

See

// Open root system store.
// Note that only current user certificates are accessible using this method,
// not the local machine store.
HCERTSTORE cert_store = CertOpenSystemStore(NULL, L"ROOT");

This can cause issues for Windows users who have certificates installed at the machine level that would satisfy TLS/SSL needs, even if they do not have them installed in the user store.

If we used CertOpenStore we could also access machine level certificates.

/cc @aam

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-ioos-windows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions