Skip to content

MacOS certificates: fixes certificates not being retrieved on MacOS

To retrieve certificates on MacOS it is necessary to iterate through the trust domains, retrieve them and then check their trust setting.

The documentation specifies that if the trust setting is missing then the value should be assumed as TrustRoot as only root certificates can assume this value.

https://developer.apple.com/documentation/security/1400261-sectrustsettingscopytrustsetting?language=objc

Fixes #213 (closed)

Merge request reports